From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15911 invoked by alias); 11 Feb 2004 17:37:44 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 15903 invoked from network); 11 Feb 2004 17:37:43 -0000 Received: from unknown (HELO demos.bsdclusters.com) (69.55.225.36) by sources.redhat.com with SMTP; 11 Feb 2004 17:37:43 -0000 Received: from demos.bsdclusters.com (demos [69.55.225.36]) by demos.bsdclusters.com (8.12.8p1/8.12.8) with ESMTP id i1BHbeNR017623; Wed, 11 Feb 2004 09:37:40 -0800 (PST) (envelope-from kmacy@fsmware.com) Received: from localhost (kmacy@localhost) by demos.bsdclusters.com (8.12.8p1/8.12.8/Submit) with ESMTP id i1BHbclK017616; Wed, 11 Feb 2004 09:37:40 -0800 (PST) X-Authentication-Warning: demos.bsdclusters.com: kmacy owned process doing -bs Date: Wed, 11 Feb 2004 17:37:00 -0000 From: Kip Macy X-X-Sender: kmacy@demos.bsdclusters.com To: Andrew Cagney cc: gdb@sources.redhat.com Subject: Re: System calls debugging In-Reply-To: <402A3D11.7080704@gnu.org> Message-ID: <20040211093618.G17066@demos.bsdclusters.com> References: <374639AB1012AA4C840022842AA95BC20138D75B@ruby.patni.com> <402A3D11.7080704@gnu.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2004-02/txt/msg00113.txt.bz2 What would that look like? Would you just type (gdb) strace 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. > > > > > > > > >