aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2012-10-26 16:52:38 +0000
committerPedro Alves <palves@redhat.com>2012-10-26 16:52:38 +0000
commit87d2d2a4462789df7e1feed4199e52b02945ba0a (patch)
tree6bf940899ae8156280f62c4df32f8c0753b740a8 /gdb
parentfed708ed1e7754cc2f4edd0bea3535d29bd973bb (diff)
downloadgdb-87d2d2a4462789df7e1feed4199e52b02945ba0a.zip
gdb-87d2d2a4462789df7e1feed4199e52b02945ba0a.tar.gz
gdb-87d2d2a4462789df7e1feed4199e52b02945ba0a.tar.bz2
2012-10-26 Pedro Alves <palves@redhat.com>
* target.c (target_waitstatus_to_string): Handle TARGET_WAITKIND_VFORK_DONE.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/target.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 501aaee..8adfc7c 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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".
diff --git a/gdb/target.c b/gdb/target.c
index 861e6a6..62de336 100644
--- a/gdb/target.c
+++ b/gdb/target.c
@@ -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: