diff options
author | Doug Evans <xdje42@gmail.com> | 2014-11-18 09:19:11 -0800 |
---|---|---|
committer | Doug Evans <xdje42@gmail.com> | 2014-11-18 09:19:11 -0800 |
commit | eb822aa6d0f2cdc1a3125da084b96c5bbe32cb86 (patch) | |
tree | d26ba8ac15567c8accf2d4bb9b24a4ed83d00a1d /gdb/objfiles.c | |
parent | 98387a2917d136b1acbaa9229d5b6a787d9efd54 (diff) | |
download | gdb-eb822aa6d0f2cdc1a3125da084b96c5bbe32cb86.zip gdb-eb822aa6d0f2cdc1a3125da084b96c5bbe32cb86.tar.gz gdb-eb822aa6d0f2cdc1a3125da084b96c5bbe32cb86.tar.bz2 |
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/objfiles.c')
-rw-r--r-- | gdb/objfiles.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/objfiles.c b/gdb/objfiles.c index 38a365c..e8c1b97 100644 --- a/gdb/objfiles.c +++ b/gdb/objfiles.c @@ -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 (); } |