Bug 17603 - gdb needs a mode to not use minsyms, it hides psymtab/symtab bugs
Summary: gdb needs a mode to not use minsyms, it hides psymtab/symtab bugs
Status: NEW
Alias: None
Product: gdb
Classification: Unclassified
Component: symtab (show other bugs)
Version: 7.8
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-14 19:33 UTC by dje
Modified: 2015-06-19 16:49 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dje 2014-11-14 19:33:44 UTC
gdb needs a mode to tell it to not use minsyms, at least for certain kinds of lookup during testing.

PR 17602 is an example where things work, but only because minsyms come to the rescue.

This is not the first time I've seen gdb work but only because one lookup fails (where it shouldn't have) and then another kind of lookup succeeds and from the user's perspective (and the testsuite's!) things are OK.  But they are not!
Comment 1 dje 2014-11-14 21:30:31 UTC
Another possibility is have a mode where we don't demangle minsyms.
Need to collect some perf data regardless: In my monster benchmark, 12 of 13 seconds of gdb startup time is reading ELF symbols.
Comment 2 dje 2015-06-19 16:49:32 UTC
Note: PR 17604 addresses the performance cost of demangling minsyms.