This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] sim: add syscall tracing level
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Mike Frysinger <vapier at gentoo dot org>
- Cc: gdb-patches at sourceware dot org, toolchain-devel at blackfin dot uclinux dot org
- Date: Wed, 25 May 2011 14:04:43 -0700
- Subject: Re: [PATCH] sim: add syscall tracing level
- References: <1294856116-12736-1-git-send-email-vapier@gentoo.org>
> 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