2008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>

* objfiles.h: New MULTI_OBJFILE_P macro.
	* printcmd.c (sym_info): Print object name.
	* maint.c (maintenance_translate_address): Likewise.
This commit is contained in:
Paul Pluzhnikov
2008-11-18 21:31:27 +00:00
parent 00a0b122cf
commit c14c28ba11
8 changed files with 104 additions and 16 deletions

View File

@@ -583,4 +583,8 @@ extern void *objfile_data (struct objfile *objfile,
uninitialized section index. */
#define SECT_OFF_BSS(objfile) (objfile)->sect_index_bss
/* Answer whether there is more than one object file loaded. */
#define MULTI_OBJFILE_P() (object_files && object_files->next)
#endif /* !defined (OBJFILES_H) */