From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12630 invoked by alias); 6 Jul 2004 13:45:10 -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 12621 invoked from network); 6 Jul 2004 13:45:09 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 6 Jul 2004 13:45:09 -0000 Received: from drow by nevyn.them.org with local (Exim 4.34 #1 (Debian)) id 1BhqFg-0002OA-5r; Tue, 06 Jul 2004 09:44:52 -0400 Date: Tue, 06 Jul 2004 13:45:00 -0000 From: Daniel Jacobowitz To: Vikas S Cc: gdb@sources.redhat.com Subject: Re: GDB Query Message-ID: <20040706134452.GA9160@nevyn.them.org> Mail-Followup-To: Vikas S , gdb@sources.redhat.com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.5.1+cvs20040105i X-SW-Source: 2004-07/txt/msg00039.txt.bz2 On Tue, Jul 06, 2004 at 10:50:07AM +0530, Vikas S wrote: > > Hi, > > > 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. Try rbreak. I'm not sure how well GDB will perform when you set this many breakpoints, though. > 2) Can we pass break and other parameters from unix command line. Yes, by using a command script (-x). -- Daniel Jacobowitz