Remove MULTI_OBJFILE_P
[deliverable/binutils-gdb.git] / gdb / progspace.c
index e6c4f55c4e8b1c39dda555ff7a019d3ec84f4a89..a39b34c923394863b42a01b8bb25fa9383969d02 100644 (file)
@@ -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.  */
 
This page took 0.023208 seconds and 4 git commands to generate.