gdb/
[deliverable/binutils-gdb.git] / gdb / objfiles.c
index a10540a5852ecda3bc2d5194f336eb157416fe17..d1f312141dad20c81be79ebcbc9099ab0327c68f 100644 (file)
@@ -289,6 +289,7 @@ allocate_objfile (bfd *abfd, const char *name, int flags)
   if (name == NULL)
     {
       gdb_assert (abfd == NULL);
+      gdb_assert ((flags & OBJF_NOT_FILENAME) != 0);
       name = "<<anonymous objfile>>";
     }
   objfile->original_name = obstack_copy0 (&objfile->objfile_obstack, name,
This page took 0.023775 seconds and 4 git commands to generate.