This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
shlibs/1824: GDB searches for symbols in the wrong order
- From: drow at sources dot redhat dot com
- To: gdb-gnats at sources dot redhat dot com
- Date: 30 Nov 2004 21:19:25 -0000
- Subject: shlibs/1824: GDB searches for symbols in the wrong order
- Reply-to: drow at sources dot redhat dot com
>Number: 1824
>Category: shlibs
>Synopsis: GDB searches for symbols in the wrong order
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Tue Nov 30 21:28:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: drow@sources.redhat.com
>Release: CVS 2004-11-30
>Organization:
>Environment:
i686-pc-linux-gnu
>Description:
If two shared libraries contain a function, and one of them
has debug information for it, but the other does not, GDB
will always set breakpoints at the one with debugging
information - even if it's not the one which will be used
at runtime.
>How-To-Repeat:
Run test case solib-weak.exp, posted to gdb-patches 2004-11-30.
>Fix:
I think that, instead of trying to implement shared library
search order, we should offer to set breakpoints at both
copies.
>Release-Note:
>Audit-Trail:
>Unformatted: