Remove MULTI_OBJFILE_P
authorTom Tromey <tom@tromey.com>
Sun, 20 Jan 2019 04:33:50 +0000 (21:33 -0700)
committerTom Tromey <tom@tromey.com>
Thu, 12 Dec 2019 22:50:53 +0000 (15:50 -0700)
commitdeeafabb678e59d8585be6d765c7fbd0e7060b6c
tree8fd33588e29dd7740f741b547e674656f1a0d784
parent234529260a90b6ac6ed38ddac45d6ed15149e8f8
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
gdb/ChangeLog
gdb/maint.c
gdb/objfiles.h
gdb/printcmd.c
gdb/progspace.c
gdb/progspace.h