gdb: constify addrmap_find
authorSimon Marchi <simon.marchi@polymtl.ca>
Wed, 20 Apr 2022 21:18:57 +0000 (17:18 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Thu, 28 Apr 2022 02:05:03 +0000 (22:05 -0400)
commitbad9471aab31d1b5aa733b8985b8e40e2a97b8e7
tree2306af7ad3d6f4ee2335436b408bc6af593976fe
parent63d609debba854d08a515f73d0ad8e4ef8948370
gdb: constify addrmap_find

addrmap_find shouldn't need to modify the addrmap, so constify the
addrmap parameter.  This helps for the following patch, where getting
the map of a const blockvector will return a const addrmap.

Change-Id: If670e425ed013724a3a77aab7961db50366dccb2
gdb/addrmap.c
gdb/addrmap.h