diff options
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/target.c | 2 |
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: |