diff options
Diffstat (limited to 'gdb/progspace.c')
-rw-r--r-- | gdb/progspace.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/progspace.c b/gdb/progspace.c index e6c4f55..a39b34c 100644 --- a/gdb/progspace.c +++ b/gdb/progspace.c @@ -200,6 +200,14 @@ program_space::remove_objfile (struct objfile *objfile) _("remove_objfile: objfile already unlinked")); } +/* See progspace.h. */ + +bool +program_space::multi_objfile_p () const +{ + return objfiles_head != nullptr && objfiles_head->next != nullptr; +} + /* Copies program space SRC to DEST. Copies the main executable file, and the main symbol file. Returns DEST. */ |