This is the mail archive of the gdb-prs@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: shlibs/1914: gdb does not notice dynamic library loads when attached to running process


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


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