This is the mail archive of the gdb@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: Break on syscall?


On Fri, May 19, 2006 at 11:15:30AM +0100, Alex Bennee wrote:
> Is it possible to get gdb to break on entering/exiting a syscall (rather
> than breaking on entering libc or some such)?

This is not supported.

> Does gdb use ptrace() to
> control breakpoints in the debugged code?

Breakpoints are inserted usually using PTRACE_POKETEXT.

-- 
Daniel Jacobowitz
CodeSourcery


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