]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb: move addrmap::relocate method to addrmap_fixed
authorSimon Marchi <simon.marchi@efficios.com>
Mon, 31 Mar 2025 20:09:42 +0000 (16:09 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Tue, 1 Apr 2025 14:02:17 +0000 (10:02 -0400)
commit76f6d11efb79da1baf55a4a451aeda2ee74f8187
tree9a1b4aa276fa730b52f41123bfb7e888ab233f71
parent387e49def642918ac7cd9ee426eeee43f9986b76
gdb: move addrmap::relocate method to addrmap_fixed

The relocate method of addrmap is unnecessarily virtual.  Only
addrmap_fixed provides a meaningful implementation.  Move the method to
addrmap_fixed only and make it non-virtual.

Change-Id: If61d5e70abc12c17d1e600adf0dd0707e77a6ba2
Approved-By: Tom Tromey <tom@tromey.com>
gdb/addrmap.c
gdb/addrmap.h