This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] print target_wait result if debug_infrun


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]