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 2/4] catch syscall -- try 4 -- Architecture-dependent part


You might as well just test for PTRACE_O_TRACESYSGOOD, and enable it,
at the same time as all the other tests.  That'll remove a bunch of
new code, including current_ptrace_options.  Even if we do need to
delay system call tracing until some point in execution, that does not
apply to PTRACE_O_TRACESYSGOOD; it can be safely set right away since
it only has any effect once you use PTRACE_SYSCALL.

Other than that, everything I saw in this patch I already described in
my review of patch 1 (entry point check, XML syscalls in non-Linux
code).

-- 
Daniel Jacobowitz
CodeSourcery


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