John Levon wrote:

> On Tue, May 04, 2004 at 03:13:03PM +0100, Angus Leeming wrote:
> 
>> I've tracked down the first call to paint which is from
>> fl_unfreeze_form. I have not been able to ascertain what is calling
>> fl_unfreeze_form. Any ideas on how I might? Put that another way.
>> How do I tell gdb to stop execution in fl_unfreeze_form so that I
>> can type 'bt'. Will 'bt' do what I want?
> 
> break fl_unfreeze_form

It's a little more complex than that, but thanks. Stephan Witt
suggested this, which works a treat:

But, you cannot set this breakpoint when the binary is not 
running already. GDB is unable to detect the shared libraries
which the program depends on. So I do a 'break main' first,
run the program and set the real breakpoint after the program
stops in main().

-- 
Angus

Reply via email to