gdb: remove SYMTAB_OBJFILE macro

Remove the macro, replace with an equivalent method.

Change-Id: I8f9ecd290ad28502e53c1ceca5006ba78bf042eb
This commit is contained in:
Simon Marchi
2021-11-20 21:54:11 -05:00
parent 012cfab919
commit 652099717d
16 changed files with 45 additions and 39 deletions

View File

@@ -11388,8 +11388,8 @@ is_known_support_routine (struct frame_info *frame)
re_comp (known_runtime_file_name_patterns[i]);
if (re_exec (lbasename (sal.symtab->filename)))
return 1;
if (SYMTAB_OBJFILE (sal.symtab) != NULL
&& re_exec (objfile_name (SYMTAB_OBJFILE (sal.symtab))))
if (sal.symtab->objfile () != NULL
&& re_exec (objfile_name (sal.symtab->objfile ())))
return 1;
}