This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: gdb 6.1-debian : problem with restarting program with breakpoints on dynamic libraries#
- From: Daniel Jacobowitz <drow at false dot org>
- To: wim delvaux <wim dot delvaux at adaptiveplanet dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Wed, 2 Jun 2004 23:57:24 -0400
- Subject: Re: gdb 6.1-debian : problem with restarting program with breakpoints on dynamic libraries#
- References: <200406030028.34501.wim.delvaux@adaptiveplanet.com>
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