From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25739 invoked by alias); 11 Feb 2004 14:32:50 -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 25727 invoked from network); 11 Feb 2004 14:32:50 -0000 Received: from unknown (HELO localhost.redhat.com) (216.129.200.20) by sources.redhat.com with SMTP; 11 Feb 2004 14:32:50 -0000 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id D18282B92; Wed, 11 Feb 2004 09:32:49 -0500 (EST) Message-ID: <402A3D11.7080704@gnu.org> Date: Wed, 11 Feb 2004 14:32:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030820 MIME-Version: 1.0 To: "Kotian, Deepak" Cc: MuthuKumar-Hotpop , gdb@sources.redhat.com Subject: Re: System calls debugging References: <374639AB1012AA4C840022842AA95BC20138D75B@ruby.patni.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-02/txt/msg00109.txt.bz2 > 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. > > >