shlibs/1914: gdb does not notice dynamic library loads when attached to running process

greenrd@greenrd.org greenrd@greenrd.org
Mon Apr 11 22:58:00 GMT 2005


>Number:         1914
>Category:       shlibs
>Synopsis:       gdb does not notice dynamic library loads when attached to running process
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 11 22:58:00 UTC 2005
>Closed-Date:
>Last-Modified:
>Originator:     greenrd@greenrd.org
>Release:        gdb-6.3.0.0-1.11
>Organization:
>Environment:
Fedora Core 3
>Description:
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.)
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gdb-prs mailing list