This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: System calls debugging
What would that look like?
Would you just type
(gdb) strace <args>
and have it print out what strace does now while it runs,
or do you have something more in mind?
-Kip
On Wed, 11 Feb 2004, Andrew Cagney wrote:
> > Will strace command for you ?
>
> BTW, a wish-list item is for GDB to directly include strace support.
>
> enjoy,
> Andrew
>
>
> > -----Original Message-----
> > From: MuthuKumar-Hotpop [mailto:kmuthu_linux@HotPOP.com]
> > Sent: Wednesday, February 11, 2004 9:19 AM
> > Cc: gdb@sources.redhat.com
> > Subject: System calls debugging
> >
> >
> >
> > Hello deBUGies,
> >
> > Is there any way to debug what are all the "system calls" usage and process happening over on the program.
> >
> > I have written a simple program which gets the a string.I have made it to wait for the input and using that process-id,
> > I have attached the process with gdb.Now the "where" command gives the stackframes about the system calls information.
> > To find the processings of other system calls what is the way.
> >
> > Regards,
> > Muthu.
> >
> >
> >
>
>
>