From eb822aa6d0f2cdc1a3125da084b96c5bbe32cb86 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Tue, 18 Nov 2014 09:19:11 -0800 Subject: SYMTAB_OBJFILE: New macro. gdb/ChangeLog: * symtab.h (SYMTAB_OBJFILE): New macro. All uses of member symtab.objfile updated to use it. --- gdb/symtab.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/symtab.c') diff --git a/gdb/symtab.c b/gdb/symtab.c index 1962e02..5b00b1b 100644 --- a/gdb/symtab.c +++ b/gdb/symtab.c @@ -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; -- cgit v1.1