mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 06:17:47 +08:00
Remove MULTI_OBJFILE_P
This removes the MULTI_OBJFILE_P macro in favor of a method on the program space. gdb/ChangeLog 2019-12-12 Tom Tromey <tom@tromey.com> * progspace.c (program_space::multi_objfile_p): New method. * printcmd.c (info_symbol_command): Update. * maint.c (maintenance_translate_address): Update. * objfiles.h (MULTI_OBJFILE_P): Remove. * progspace.h (struct program_space) <multi_objfile_p>: New method. Change-Id: I2779e26ea8909078d63fea8f13bce94cab73948c
This commit is contained in:
@ -773,10 +773,6 @@ extern void default_iterate_over_objfiles_in_search_order
|
||||
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)
|
||||
|
||||
/* Reset the per-BFD storage area on OBJ. */
|
||||
|
||||
void set_objfile_per_bfd (struct objfile *obj);
|
||||
|
Reference in New Issue
Block a user