* target.h (target_waitstatus_to_string): Declare.
authorDoug Evans <dje@google.com>
Sun, 1 Feb 2009 23:31:03 +0000 (23:31 +0000)
committerDoug Evans <dje@google.com>
Sun, 1 Feb 2009 23:31:03 +0000 (23:31 +0000)
commitf00150c95d261f2fac4fbab21d60eceb2ccb7d3e
tree8125185686eb132d5fda0af5da87b9b38bebb5bb
parent273f4430f86503a7e746f8710c6165f794a360bd
* target.h (target_waitstatus_to_string): Declare.
* target.c (target_waitstatus_to_string): New function.  Copied from
debug_to_wait.  Add missing entries for TARGET_WAITKIND_SYSCALL_ENTRY,
TARGET_WAITKIND_SYSCALL_RETURN, TARGET_WAITKIND_IGNORE,
TARGET_WAITKIND_NO_HISTORY.
(debug_to_wait): Call it.
* infrun.c (wait_for_inferior): If debug_infrun, print result of
target_wait.
(fetch_inferior_event): Ditto.
gdb/ChangeLog
gdb/infrun.c
gdb/target.c
gdb/target.h