gdb: make get_msymbol_address a private method of minimal_symbol
authorSimon Marchi <simon.marchi@efficios.com>
Mon, 23 Oct 2023 18:05:02 +0000 (14:05 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Wed, 25 Oct 2023 15:34:59 +0000 (11:34 -0400)
commit23e6f781518fd600041fc12ce68a19c00b9018de
treef7095389ccec610db8db3429d6c114ffadc28050
parent53beac2e23bcffe632bb837c97003998e6986ce9
gdb: make get_msymbol_address a private method of minimal_symbol

get_msymbol_address is only used in minimal_symbol::value_address.  Make
it a private helper method.

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