This is the mail archive of the gdb-prs@sourceware.org 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]

[Bug symtab/17559] confusion on what the result of find_pc_symtab is


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.


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