gdb: make get_symbol_address a private method of symbol
authorSimon Marchi <simon.marchi@efficios.com>
Mon, 23 Oct 2023 18:05:03 +0000 (14:05 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Wed, 25 Oct 2023 15:34:59 +0000 (11:34 -0400)
commitf9b96f673e6c442fe81cd1b5c27cb83ae50ae63b
treed5f57af71b6f7ad9271d33b3954b9bbe834da11c
parent23e6f781518fd600041fc12ce68a19c00b9018de
gdb: make get_symbol_address a private method of symbol

get_symbol_address is only used symbol::value_address, make it a private
helper method.

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