diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2022-01-27 22:01:10 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2022-02-06 16:03:46 -0500 |
commit | 7b3ecc7555438f05dda657d0ed6a43ee71a3901d (patch) | |
tree | 851e01af89a5dda9ab1ea9c05b4059eda7497907 /gdb/printcmd.c | |
parent | 6c9c307c67043b55a209af402246404d89f992c9 (diff) | |
download | binutils-7b3ecc7555438f05dda657d0ed6a43ee71a3901d.zip binutils-7b3ecc7555438f05dda657d0ed6a43ee71a3901d.tar.gz binutils-7b3ecc7555438f05dda657d0ed6a43ee71a3901d.tar.bz2 |
gdb: remove SYMBOL_OBJFILE_OWNED macro
Add a getter and a setter for whether a symbol is objfile owned. Remove
the corresponding macro and adjust all callers.
Change-Id: Ib7ef3718d65553ae924ca04c3fd478b0f4f3147c
Diffstat (limited to 'gdb/printcmd.c')
-rw-r--r-- | gdb/printcmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/printcmd.c b/gdb/printcmd.c index 0b0a1d6..787d8d7 100644 --- a/gdb/printcmd.c +++ b/gdb/printcmd.c @@ -1686,7 +1686,7 @@ info_address_command (const char *exp, int from_tty) puts_filtered (sym->print_name ()); printf_filtered ("\" is "); val = SYMBOL_VALUE (sym); - if (SYMBOL_OBJFILE_OWNED (sym)) + if (sym->is_objfile_owned ()) section = sym->obj_section (symbol_objfile (sym)); else section = NULL; |