On Tuesday 04 May 2004 4:15 pm, John Levon wrote: > On Tue, May 04, 2004 at 04:01:02PM +0100, Angus Leeming wrote: > > 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(). > > I haven't needed that trick for a long time. > > [EMAIL PROTECTED] src]$ gdb -v > GNU gdb Red Hat Linux (5.3post-0.20021129.18rh)
Nope, you're right. My bad. Thanks for the heads up. Angus