aboutsummaryrefslogtreecommitdiff
path: root/gdb/symmisc.c
diff options
context:
space:
mode:
authorDoug Evans <xdje42@gmail.com>2014-11-18 09:19:11 -0800
committerDoug Evans <xdje42@gmail.com>2014-11-18 09:19:11 -0800
commiteb822aa6d0f2cdc1a3125da084b96c5bbe32cb86 (patch)
treed26ba8ac15567c8accf2d4bb9b24a4ed83d00a1d /gdb/symmisc.c
parent98387a2917d136b1acbaa9229d5b6a787d9efd54 (diff)
SYMTAB_OBJFILE: New macro.
gdb/ChangeLog: * symtab.h (SYMTAB_OBJFILE): New macro. All uses of member symtab.objfile updated to use it.
Diffstat (limited to 'gdb/symmisc.c')
-rw-r--r--gdb/symmisc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/symmisc.c b/gdb/symmisc.c
index 885fe12f5c..623bcb3233 100644
--- a/gdb/symmisc.c
+++ b/gdb/symmisc.c
@@ -182,7 +182,7 @@ dump_objfile (struct objfile *objfile)
printf_filtered ("%s at ", symtab_to_filename_for_display (symtab));
gdb_print_host_address (symtab, gdb_stdout);
printf_filtered (", ");
- if (symtab->objfile != objfile)
+ if (SYMTAB_OBJFILE (symtab) != objfile)
{
printf_filtered ("NOT ON CHAIN! ");
}