This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: GDB Query
- From: Daniel Jacobowitz <drow at false dot org>
- To: Vikas S <vikas_s40 at hotmail dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Tue, 6 Jul 2004 09:44:52 -0400
- Subject: Re: GDB Query
- References: <BAY15-F39bOrw7DGZrG0002d998@hotmail.com>
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