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: [PATCH] sim: add syscall tracing level


> 2011-01-12  Mike Frysinger  <vapier@gentoo.org>
> 
> 	* sim-trace.c (OPTION_TRACE_SYSCALL): New enum.
> 	(trace_options): Handle "trace-syscall" with OPTION_TRACE_SYSCALL.
> 	(trace_option_handler): Handle OPTION_TRACE_SYSCALL.
> 	(trace_idx_to_str): Likewise.
> 	* sim-trace.h (TRACE_SYSCALL_IDX): New enum.
> 	(TRACE_syscall): Define.
> 	(WITH_TRACE_SYSCALL_P): Likewise.
> 	(TRACE_SYSCALL_P): Likewise.

Again, my apologies for not reviewing this patch earlier - good thing
you sent another ping, as I had deleted the patch from my mailbox
thinking it had been reviewed.

I looked at the patch, and it seems reasonable - it mimics exactly
the implementation of the --trace-events option.  Please go ahead
and commit.

-- 
Joel


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