gdb: remove SYMTAB_OBJFILE macro
Remove the macro, replace with an equivalent method. Change-Id: I8f9ecd290ad28502e53c1ceca5006ba78bf042eb
This commit is contained in:
parent
012cfab919
commit
652099717d
16 changed files with 45 additions and 39 deletions
|
@ -1559,7 +1559,7 @@ info_line_command (const char *arg, int from_tty)
|
|||
else if (sal.line > 0
|
||||
&& find_line_pc_range (sal, &start_pc, &end_pc))
|
||||
{
|
||||
struct gdbarch *gdbarch = SYMTAB_OBJFILE (sal.symtab)->arch ();
|
||||
struct gdbarch *gdbarch = sal.symtab->objfile ()->arch ();
|
||||
|
||||
if (start_pc == end_pc)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue