aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.c
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/target.c
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/target.c')
-rw-r--r--gdb/target.c2
1 files changed, 2 insertions, 0 deletions
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: