This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
Re: shlibs/1914: gdb does not notice dynamic library loads when attached to running process
- From: Daniel Jacobowitz <drow at false dot org>
- To: nobody at sources dot redhat dot com
- Cc: gdb-prs at sources dot redhat dot com,
- Date: 11 Apr 2005 23:08:00 -0000
- Subject: Re: shlibs/1914: gdb does not notice dynamic library loads when attached to running process
- Reply-to: Daniel Jacobowitz <drow at false dot org>
The following reply was made to PR shlibs/1914; it has been noted by GNATS.
From: Daniel Jacobowitz <drow@false.org>
To: greenrd@greenrd.org
Cc: gdb-gnats@sources.redhat.com
Subject: Re: shlibs/1914: gdb does not notice dynamic library loads when attached to running process
Date: Mon, 11 Apr 2005 19:00:25 -0400
On Mon, Apr 11, 2005 at 10:50:56PM -0000, greenrd@greenrd.org wrote:
> >Release: gdb-6.3.0.0-1.11
Eh, this is a Red Hat version number I assume. Have you tested the CVS
version?
> When a process is launched from gdb, gdb is able to detect dynamic .so loads and automatically read in symbols for them.
>
> However, when gdb attaches to a running process, it is not apparently able to detect dynamic .so loads, so setting breakpoints (both pending and normal) doesn't work.
>
> (A hacky, partial workaround is to quit gdb and then run it again.)
Test case?
--
Daniel Jacobowitz
CodeSourcery, LLC