2012-10-26 Pedro Alves <palves@redhat.com>
authorPedro Alves <palves@redhat.com>
Fri, 26 Oct 2012 16:52:38 +0000 (16:52 +0000)
committerPedro Alves <palves@redhat.com>
Fri, 26 Oct 2012 16:52:38 +0000 (16:52 +0000)
* target.c (target_waitstatus_to_string): Handle
TARGET_WAITKIND_VFORK_DONE.

gdb/ChangeLog
gdb/target.c

index 501aaee..8adfc7c 100644 (file)
@@ -1,5 +1,10 @@
 2012-10-26  Pedro Alves  <palves@redhat.com>
 
+       * target.c (target_waitstatus_to_string): Handle
+       TARGET_WAITKIND_VFORK_DONE.
+
+2012-10-26  Pedro Alves  <palves@redhat.com>
+
        * infrun.c (handle_inferior_event): Print TARGET_WAITKIND_VFORKED
        as "TARGET_WAITKIND_VFORKED", not "TARGET_WAITKIND_FORKED".
 
index 861e6a6..62de336 100644 (file)
@@ -3874,6 +3874,8 @@ target_waitstatus_to_string (const struct target_waitstatus *ws)
       return xstrprintf ("%svforked", kind_str);
     case TARGET_WAITKIND_EXECD:
       return xstrprintf ("%sexecd", kind_str);
+    case TARGET_WAITKIND_VFORK_DONE:
+      return xstrprintf ("%svfork-done", kind_str);
     case TARGET_WAITKIND_SYSCALL_ENTRY:
       return xstrprintf ("%sentered syscall", kind_str);
     case TARGET_WAITKIND_SYSCALL_RETURN: