public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug symtab/17603] New: gdb needs a mode to not use minsyms, it hides psymtab/symtab bugs
@ 2014-11-14 19:33 dje at google dot com
  2014-11-14 21:30 ` [Bug symtab/17603] " dje at google dot com
  2015-06-19 16:49 ` dje at google dot com
  0 siblings, 2 replies; 3+ messages in thread
From: dje at google dot com @ 2014-11-14 19:33 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=17603

            Bug ID: 17603
           Summary: gdb needs a mode to not use minsyms, it hides
                    psymtab/symtab bugs
           Product: gdb
           Version: 7.8
            Status: NEW
          Severity: normal
          Priority: P2
         Component: symtab
          Assignee: unassigned at sourceware dot org
          Reporter: dje at google dot com

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!

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug symtab/17603] gdb needs a mode to not use minsyms, it hides psymtab/symtab bugs
  2014-11-14 19:33 [Bug symtab/17603] New: gdb needs a mode to not use minsyms, it hides psymtab/symtab bugs dje at google dot com
@ 2014-11-14 21:30 ` dje at google dot com
  2015-06-19 16:49 ` dje at google dot com
  1 sibling, 0 replies; 3+ messages in thread
From: dje at google dot com @ 2014-11-14 21:30 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=17603

--- Comment #1 from dje at google dot com ---
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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug symtab/17603] gdb needs a mode to not use minsyms, it hides psymtab/symtab bugs
  2014-11-14 19:33 [Bug symtab/17603] New: gdb needs a mode to not use minsyms, it hides psymtab/symtab bugs dje at google dot com
  2014-11-14 21:30 ` [Bug symtab/17603] " dje at google dot com
@ 2015-06-19 16:49 ` dje at google dot com
  1 sibling, 0 replies; 3+ messages in thread
From: dje at google dot com @ 2015-06-19 16:49 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=17603

--- Comment #2 from dje at google dot com ---
Note: PR 17604 addresses the performance cost of demangling minsyms.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-06-19 16:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-14 19:33 [Bug symtab/17603] New: gdb needs a mode to not use minsyms, it hides psymtab/symtab bugs dje at google dot com
2014-11-14 21:30 ` [Bug symtab/17603] " dje at google dot com
2015-06-19 16:49 ` dje at google dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).