aboutsummaryrefslogtreecommitdiff
path: root/gdb/symmisc.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-04-17 19:44:20 -0600
committerTom Tromey <tom@tromey.com>2022-04-20 09:28:16 -0600
commite19b2d94653dd4a7523a9e9b62020a63dac39439 (patch)
tree19d21478ff945ffc1308932bac7bc9e9370f4fb2 /gdb/symmisc.c
parentf66b5363431ccf23debbdfacb63c09c2c57b6ada (diff)
downloadgdb-e19b2d94653dd4a7523a9e9b62020a63dac39439.zip
gdb-e19b2d94653dd4a7523a9e9b62020a63dac39439.tar.gz
gdb-e19b2d94653dd4a7523a9e9b62020a63dac39439.tar.bz2
Replace symbol_objfile with symbol::objfile
This turns symbol_objfile into a method on symbol.
Diffstat (limited to 'gdb/symmisc.c')
-rw-r--r--gdb/symmisc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/symmisc.c b/gdb/symmisc.c
index 18741e4..dee11fd 100644
--- a/gdb/symmisc.c
+++ b/gdb/symmisc.c
@@ -503,7 +503,7 @@ print_symbol (struct gdbarch *gdbarch, struct symbol *symbol,
struct obj_section *section;
if (symbol->is_objfile_owned ())
- section = symbol->obj_section (symbol_objfile (symbol));
+ section = symbol->obj_section (symbol->objfile ());
else
section = NULL;