diff options
author | Doug Evans <xdje42@gmail.com> | 2014-10-31 21:46:08 -0700 |
---|---|---|
committer | Doug Evans <xdje42@gmail.com> | 2014-10-31 21:46:08 -0700 |
commit | 4f072d17b2574e271ae381f42bc404c1a99d0ab6 (patch) | |
tree | 3f8ceb5825f1d59e2584f39c3505ae6c4affddf1 /gdb/objfiles.h | |
parent | 8301c89eb5f179cbcdfe7666ecef844fc732f97c (diff) | |
download | gdb-4f072d17b2574e271ae381f42bc404c1a99d0ab6.zip gdb-4f072d17b2574e271ae381f42bc404c1a99d0ab6.tar.gz gdb-4f072d17b2574e271ae381f42bc404c1a99d0ab6.tar.bz2 |
objfiles.h: Remove some unused macros.
gdb/ChangeLog:
* objfiles.h (ALL_PSPACE_OBJFILES_SAFE): Delete, unused.
(ALL_PSPACE_SYMTABS, ALL_PSPACE_PRIMARY_SYMTABS): Ditto.
Diffstat (limited to 'gdb/objfiles.h')
-rw-r--r-- | gdb/objfiles.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/gdb/objfiles.h b/gdb/objfiles.h index 57a94e1..46e7ea5 100644 --- a/gdb/objfiles.h +++ b/gdb/objfiles.h @@ -578,11 +578,6 @@ extern void default_iterate_over_objfiles_in_search_order #define ALL_PSPACE_OBJFILES(ss, obj) \ for ((obj) = ss->objfiles; (obj) != NULL; (obj) = (obj)->next) -#define ALL_PSPACE_OBJFILES_SAFE(ss, obj, nxt) \ - for ((obj) = ss->objfiles; \ - (obj) != NULL? ((nxt)=(obj)->next,1) :0; \ - (obj) = (nxt)) - #define ALL_OBJFILES(obj) \ for ((obj) = current_program_space->objfiles; \ (obj) != NULL; \ @@ -618,10 +613,6 @@ extern void default_iterate_over_objfiles_in_search_order ALL_OBJFILES (objfile) \ ALL_OBJFILE_SYMTABS (objfile, s) -#define ALL_PSPACE_SYMTABS(ss, objfile, s) \ - ALL_PSPACE_OBJFILES (ss, objfile) \ - ALL_OBJFILE_SYMTABS (objfile, s) - /* Traverse all symtabs in all objfiles in the current program space, skipping included files (which share a blockvector with their primary symtab). */ @@ -630,10 +621,6 @@ extern void default_iterate_over_objfiles_in_search_order ALL_OBJFILES (objfile) \ ALL_OBJFILE_PRIMARY_SYMTABS (objfile, s) -#define ALL_PSPACE_PRIMARY_SYMTABS(pspace, objfile, s) \ - ALL_PSPACE_OBJFILES (ss, objfile) \ - ALL_OBJFILE_PRIMARY_SYMTABS (objfile, s) - /* Traverse all minimal symbols in all objfiles in the current symbol space. */ |