forked from Imagelibrary/binutils-gdb
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
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user