From: Pedro Alves Date: Fri, 26 Oct 2012 16:52:38 +0000 (+0000) Subject: 2012-10-26 Pedro Alves X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=87d2d2a4462789df7e1feed4199e52b02945ba0a;p=binutils-gdb.git 2012-10-26 Pedro Alves * target.c (target_waitstatus_to_string): Handle TARGET_WAITKIND_VFORK_DONE. --- 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: