This is the mail archive of the gdb@sources.redhat.com 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: strace with gdb


On Wed, Mar 02, 2005 at 05:39:04PM +0100, Dieter Stüken wrote:
> I like to have a break for each system call performed similar to "strace".
> Is there a way to do that with gdb directly, or exists a common function
> called for each system call i can use instead?

No, currently there's no way to do this.

If you're using Linux, and a recent enough glibc and kernel, you might
be able to set a breakpoint in __kernel_vsyscall somewhere...

-- 
Daniel Jacobowitz
CodeSourcery, LLC


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