Fix big-endian aggregate assignment in Ada
[deliverable/binutils-gdb.git] / gdb / gnu-nat.c
index c1fafed156efc81f0971e8e8c6b6fa4cab200aef..5eeac9270a9e3f8f95b6a69413f22f5761b8a8f0 100644 (file)
@@ -1647,15 +1647,9 @@ rewait:
       inf_update_suspends (inf);
     }
 
-  inf_debug (inf, "returning ptid = %s, status = %s (%d)",
+  inf_debug (inf, "returning ptid = %s, %s",
             target_pid_to_str (ptid).c_str (),
-            status->kind == TARGET_WAITKIND_EXITED ? "EXITED"
-            : status->kind == TARGET_WAITKIND_STOPPED ? "STOPPED"
-            : status->kind == TARGET_WAITKIND_SIGNALLED ? "SIGNALLED"
-            : status->kind == TARGET_WAITKIND_LOADED ? "LOADED"
-            : status->kind == TARGET_WAITKIND_SPURIOUS ? "SPURIOUS"
-            : "?",
-            status->value.integer);
+            target_waitstatus_to_string (status).c_str ());
 
   return ptid;
 }
This page took 0.024191 seconds and 4 git commands to generate.