This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug symtab/17559] confusion on what the result of find_pc_symtab is
- From: "xdje42 at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 06 Nov 2014 07:20:14 +0000
- Subject: [Bug symtab/17559] confusion on what the result of find_pc_symtab is
- Auto-submitted: auto-generated
- References: <bug-17559-4717 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=17559
--- Comment #3 from Doug Evans <xdje42 at gmail dot com> ---
Another example (last one for now) in get_frame_language:
{
s = find_pc_symtab (pc);
if (s != NULL)
return s->language;
}
Here too I think we want the language of the compilation unit (or primary
symtab) and not the language of any associated non-primary symtab (e.g.,
header).
--
You are receiving this mail because:
You are on the CC list for the bug.