forked from Imagelibrary/binutils-gdb
SYMTAB_OBJFILE: New macro.
gdb/ChangeLog: * symtab.h (SYMTAB_OBJFILE): New macro. All uses of member symtab.objfile updated to use it.
This commit is contained in:
@@ -641,7 +641,7 @@ free_objfile (struct objfile *objfile)
|
||||
{
|
||||
struct symtab_and_line cursal = get_current_source_symtab_and_line ();
|
||||
|
||||
if (cursal.symtab && cursal.symtab->objfile == objfile)
|
||||
if (cursal.symtab && SYMTAB_OBJFILE (cursal.symtab) == objfile)
|
||||
clear_current_source_symtab_and_line ();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user