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 6.1-debian : problem with restarting program with breakpoints on dynamic libraries#


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


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