Replace symbol_objfile with symbol::objfile

This turns symbol_objfile into a method on symbol.
This commit is contained in:
Tom Tromey 2022-04-17 19:44:20 -06:00
parent f66b536343
commit e19b2d9465
13 changed files with 29 additions and 29 deletions

View file

@ -1086,7 +1086,7 @@ jump_command (const char *arg, int from_tty)
struct obj_section *section;
fixup_symbol_section (sfn, 0);
section = sfn->obj_section (symbol_objfile (sfn));
section = sfn->obj_section (sfn->objfile ());
if (section_is_overlay (section)
&& !section_is_mapped (section))
{