This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GDB Query


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]