This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug symtab/17564] New: lookup of static symbols should properly search each objfile in order
- From: "xdje42 at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Fri, 07 Nov 2014 16:20:53 +0000
- Subject: [Bug symtab/17564] New: lookup of static symbols should properly search each objfile in order
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=17564
Bug ID: 17564
Summary: lookup of static symbols should properly search each
objfile in order
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: symtab
Assignee: unassigned at sourceware dot org
Reporter: xdje42 at gmail dot com
When deciding it needs to search all objfiles to look up a symbol in
STATIC_BLOCK, gdb will first search all expanded symbol tables of all objfiles
and *then* search all partial(/gdb_index) symbol tables of all objfiles.
This leads to different answers depending on the what the user does in the
debug session.
What gdb should do is perform a full lookup (expanded+partial) in each objfile
in turn.
Patch and testcase to follow.
--
You are receiving this mail because:
You are on the CC list for the bug.