OSDN Git Service

* target.h (target_waitstatus_to_string): Declare.
authorDoug Evans <dje@google.com>
Sun, 1 Feb 2009 23:31:02 +0000 (23:31 +0000)
committerDoug Evans <dje@google.com>
Sun, 1 Feb 2009 23:31:02 +0000 (23:31 +0000)
commit7a228ded75afbcc5af87b9cd26e54ceea0b3cb25
tree0d8eebec48a80301f8acd840f912725369218b2b
parentd8ccded1bd72290e07a69451f708292a76fe7a7a
* 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