ppc: Fix record support of Store String Word instructions
[deliverable/binutils-gdb.git] / gdb / fork-child.c
index 3e29a1f7a5a3b707c24683d0af23d2a2f71080fb..15f82499db2f51c37bc472c7d67b5c399bd47a41 100644 (file)
@@ -482,7 +482,7 @@ startup_inferior (int ntraps)
 
          case TARGET_WAITKIND_SIGNALLED:
            target_terminal_ours ();
-           target_mourn_inferior ();
+           target_mourn_inferior (event_ptid);
            error (_("During startup program terminated with signal %s, %s."),
                   gdb_signal_to_name (ws.value.sig),
                   gdb_signal_to_string (ws.value.sig));
@@ -490,7 +490,7 @@ startup_inferior (int ntraps)
 
          case TARGET_WAITKIND_EXITED:
            target_terminal_ours ();
-           target_mourn_inferior ();
+           target_mourn_inferior (event_ptid);
            if (ws.value.integer)
              error (_("During startup program exited with code %d."),
                     ws.value.integer);
This page took 0.023491 seconds and 4 git commands to generate.