From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12999 invoked by alias); 6 Jul 2004 10:17:53 -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 10408 invoked from network); 6 Jul 2004 10:17:15 -0000 Received: from unknown (HELO alice.acmet.com) (61.16.238.202) by sourceware.org with SMTP; 6 Jul 2004 10:17:15 -0000 Received: from monika (localhost [127.0.0.1]) by alice.acmet.com (8.11.6/8.11.6) with ESMTP id i66AKxG01020; Tue, 6 Jul 2004 15:51:02 +0530 From: "Monika Chaddha" To: "'Vikas S'" Cc: Subject: RE: GDB Query Date: Tue, 06 Jul 2004 10:17:00 -0000 Message-ID: <006201c46341$e635dc10$5100a8c0@monika> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit In-Reply-To: X-SW-Source: 2004-07/txt/msg00037.txt.bz2 >-----Original Message----- >From: Vikas S [mailto:vikas_s40@hotmail.com] >Sent: Tuesday, July 06, 2004 12:47 PM >To: monika@acmet.com >Subject: RE: GDB Query > > >Hi, > >Thanks. > >1) Ok.. The reason I asked for this is that I'm trying to trace full >function flow of a >process. In case of gdb, everytime I've to type break manually for each >function which >is tedious. If you know any other function which will do the above job, >please inform. >I'm on Linux. If u want to get rid of this problem than I have one solution for u .U can put all breakpoints in a file and can run that file after invoking gdb. U will get all breakpoints after running only this single file. > >2) I wanted to do it from unix command line. This is in relation to above >requirement >only. I wanted something like > >$ gdb break=f1,f2... Yes I m getting u. I'll again see and try if I get something better. Monika > >Thanks, >Vikas > >>From: "Monika Chaddha" >>To: "'Vikas S'" >>CC: >>Subject: RE: GDB Query >>Date: Tue, 6 Jul 2004 12:30:35 +0530 >> >> >> >> >-----Original Message----- >> >From: gdb-owner@sources.redhat.com >>[mailto:gdb-owner@sources.redhat.com] On >> >Behalf Of Vikas S >> >Sent: Tuesday, July 06, 2004 10:50 AM >> >To: gdb@sources.redhat.com >> >Subject: GDB Query >> > >> > >> >Hi, >> >>Hello, >> >> > >> > >> >I've two queries on gdb. >> > >> >1) I wish to have a break whenever a function call is encountered. The >>no. >> >of functions is >> >very high and may change. >> >>I have not seen such type of facility in gdb till now. >> >> > >> >2) Can we pass break and other parameters from unix command line. >> >>Do u want to put break point from unix command line or gdb command line? >>>From gdb command line u can do easily. >> >>Regards >>Monika Chaddha >> > >_________________________________________________________________ >Earn without investing. http://go.msnserver.com/IN/52048.asp Sell anything >under the sun.