diff options
Diffstat (limited to 'gdb/objfiles.h')
-rw-r--r-- | gdb/objfiles.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/objfiles.h b/gdb/objfiles.h index 68bfd9a..53e6786 100644 --- a/gdb/objfiles.h +++ b/gdb/objfiles.h @@ -358,6 +358,7 @@ have_minimal_symbols PARAMS ((void)); #define ALL_MSYMBOLS(objfile, m) \ ALL_OBJFILES (objfile) \ - ALL_OBJFILE_MSYMBOLS (objfile, m) + if ((objfile)->msymbols) \ + ALL_OBJFILE_MSYMBOLS (objfile, m) #endif /* !defined (OBJFILES_H) */ |