proc-events.c: fix compilation on Solaris
[deliverable/binutils-gdb.git] / gdb / linux-tdep.c
index 552a2a495b4330aa274a4c423c874a1896487c03..24bfd74dea07553f1712a70eec0605b751d4145d 100644 (file)
@@ -1426,7 +1426,7 @@ linux_spu_make_corefile_notes (bfd *obfd, char *note_data, int *note_size)
     spu_ids = target_read_alloc (&current_target, TARGET_OBJECT_SPU, NULL);
 
   if (!spu_ids)
-    return nullptr;
+    return note_data;
 
   /* Generate corefile notes for each SPU file.  */
   for (size_t i = 0; i < spu_ids->size (); i += 4)
This page took 0.024837 seconds and 4 git commands to generate.