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


On Monday 09 March 2009 15:09:24, Sérgio Durigan Júnior wrote:
> if (catch_syscall_enabled () > 0) ...
> 
> What happens is that the code does not freeze. GDB still works with
> this, and as far as I could investigate it shows everything fine.
> Therefore, I think this function is not needed at all.

Oh, was that because you're only enabling PTRACE_O_TRACESYSGOOD
after startup_inferior is finished, in linux_child_post_startup_inferior,
and, PT_SYSCALL just behaves as PT_CONTINUE in that case?  That
would make sense to me.

-- 
Pedro Alves


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