diff options
author | Tom Tromey <tom@tromey.com> | 2022-04-17 19:44:20 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2022-04-20 09:28:16 -0600 |
commit | e19b2d94653dd4a7523a9e9b62020a63dac39439 (patch) | |
tree | 19d21478ff945ffc1308932bac7bc9e9370f4fb2 /gdb/printcmd.c | |
parent | f66b5363431ccf23debbdfacb63c09c2c57b6ada (diff) | |
download | binutils-e19b2d94653dd4a7523a9e9b62020a63dac39439.zip binutils-e19b2d94653dd4a7523a9e9b62020a63dac39439.tar.gz binutils-e19b2d94653dd4a7523a9e9b62020a63dac39439.tar.bz2 |
Replace symbol_objfile with symbol::objfile
This turns symbol_objfile into a method on symbol.
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 f4f64b6..0e139e0 100644 --- a/gdb/printcmd.c +++ b/gdb/printcmd.c @@ -1681,7 +1681,7 @@ info_address_command (const char *exp, int from_tty) gdb_printf ("\" is "); val = sym->value_longest (); if (sym->is_objfile_owned ()) - section = sym->obj_section (symbol_objfile (sym)); + section = sym->obj_section (sym->objfile ()); else section = NULL; gdbarch = symbol_arch (sym); |