This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: strace with gdb
- From: Daniel Jacobowitz <drow at false dot org>
- To: Dieter Stüken <stueken at conterra dot de>
- Cc: gdb at sources dot redhat dot com
- Date: Wed, 2 Mar 2005 11:41:55 -0500
- Subject: Re: strace with gdb
- References: <4225EC28.5070006@conterra.de>
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