gdb 6.1-debian : problem with restarting program with breakpoints on dynamic libraries#

Daniel Jacobowitz drow@false.org
Thu Jun 3 03:57:00 GMT 2004


On Thu, Jun 03, 2004 at 12:28:34AM +0200, wim delvaux wrote:
> When I do this
> 
> 		gdb SomeProgram
> 
> and set a breakpoint on a function that will be loaded at runtime
> 
> 		b SomeFunctionInSomeLib
> 
> gdb properly asks me if I want to set this breakpoint when the symbol is 
> found.
> 
> Answering "y' and running the program will break on the requested function.
> 
> HOWEVER.
> 
> When I want to rerun the application ('r' command) the breakpoint is still 
> known by gdb (I see complaint messages) but is not set even when the function 
> becomes available.
> 
> is this a but in the version I am using ?

I can't reproduce this using the same version of GDB.  Can you give us
a complete transcript of a session that shows the problem?

-- 
Daniel Jacobowitz



More information about the Gdb mailing list