From 87d2d2a4462789df7e1feed4199e52b02945ba0a Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Fri, 26 Oct 2012 16:52:38 +0000 Subject: [PATCH] 2012-10-26 Pedro Alves * target.c (target_waitstatus_to_string): Handle TARGET_WAITKIND_VFORK_DONE. --- gdb/ChangeLog | 5 +++++ gdb/target.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 501aaee643c..8adfc7c6e8e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2012-10-26 Pedro Alves + + * target.c (target_waitstatus_to_string): Handle + TARGET_WAITKIND_VFORK_DONE. + 2012-10-26 Pedro Alves * infrun.c (handle_inferior_event): Print TARGET_WAITKIND_VFORKED diff --git a/gdb/target.c b/gdb/target.c index 861e6a62c7d..62de33632db 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: -- 2.30.2