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 501aaee643c1a234dcbf545108fe45b8653ab6d1..8adfc7c6e8eb845ea28ed86beb1601c8687ff50e 100644 (file)
@@ -1,3 +1,8 @@
+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
index 861e6a62c7d55ee73e0bfc7b04f209cb34a34957..62de33632dbb8fc09144f52b2f23856a94861599 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: