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]

shlibs/1824: GDB searches for symbols in the wrong order


>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:


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