This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] print target_wait result if debug_infrun
- From: Daniel Jacobowitz <drow at false dot org>
- To: Doug Evans <dje at google dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Sun, 1 Feb 2009 18:16:57 -0500
- Subject: Re: [RFA] print target_wait result if debug_infrun
- References: <20090201222143.100941C7A19@localhost>
On Sun, Feb 01, 2009 at 02:21:42PM -0800, Doug Evans wrote:
> Ok to check in?
>
> 2009-02-01 Doug Evans <dje@google.com>
>
> * 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, case 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.
Agreed, this is nice. OK.
--
Daniel Jacobowitz
CodeSourcery