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:
Doug Evans
2014-11-18 09:19:11 -08:00
parent 98387a2917
commit eb822aa6d0
19 changed files with 52 additions and 43 deletions

View File

@@ -2317,7 +2317,7 @@ find_pc_sect_line (CORE_ADDR pc, struct obj_section *section, int notcurrent)
}
bv = BLOCKVECTOR (s);
objfile = s->objfile;
objfile = SYMTAB_OBJFILE (s);
/* Look at all the symtabs that share this blockvector.
They all have the same apriori range, that we found was right;