public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug symtab/15547] New: info types searches msymbols
@ 2013-05-28 22:20 dje at google dot com
2023-12-11 0:23 ` [Bug symtab/15547] " tromey at sourceware dot org
2024-05-24 14:27 ` tromey at sourceware dot org
0 siblings, 2 replies; 3+ messages in thread
From: dje at google dot com @ 2013-05-28 22:20 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=15547
Bug ID: 15547
Summary: info types searches msymbols
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: symtab
Assignee: unassigned at sourceware dot org
Reporter: dje at google dot com
(gdb) info types b
...
Non-debugging symbols:
__bss_start
Absent some old debug format (stabs?) is there a reason to search minsyms for
types? If not, and we still have to support old debug formats that do this,
can we record some information somewhere to make the output of "info types"
more useful?
--
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/15547] info types searches msymbols
2013-05-28 22:20 [Bug symtab/15547] New: info types searches msymbols dje at google dot com
@ 2023-12-11 0:23 ` tromey at sourceware dot org
2024-05-24 14:27 ` tromey at sourceware dot org
1 sibling, 0 replies; 3+ messages in thread
From: tromey at sourceware dot org @ 2023-12-11 0:23 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=15547
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tromey at sourceware dot org
--- Comment #1 from Tom Tromey <tromey at sourceware dot org> ---
"info types bss" on a running gdb doesn't show this for me.
I didn't look to see if it really still can happen.
Anyway enum minimal_symbol_type doesn't include anything
type-related, and IMO it shouldn't. We should just declare
this to be impossible. If some future format needs something
like this, for some reason, it can install a new 'quick'
handler.
--
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/15547] info types searches msymbols
2013-05-28 22:20 [Bug symtab/15547] New: info types searches msymbols dje at google dot com
2023-12-11 0:23 ` [Bug symtab/15547] " tromey at sourceware dot org
@ 2024-05-24 14:27 ` tromey at sourceware dot org
1 sibling, 0 replies; 3+ messages in thread
From: tromey at sourceware dot org @ 2024-05-24 14:27 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=15547
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #2 from Tom Tromey <tromey at sourceware dot org> ---
global_symbol_searcher::search has this code:
/* If there are no debug symbols, then add matching minsyms. But if the
user wants to see symbols matching a type regexp, then never give a
minimal symbol, as we assume that a minimal symbol does not have a
type. */
if ((found_msymbol
|| (filenames.empty () && (m_kind & SEARCH_VAR_DOMAIN) != 0))
&& !m_exclude_minsyms
&& !treg.has_value ())
{
gdb_assert ((m_kind & (SEARCH_VAR_DOMAIN | SEARCH_FUNCTION_DOMAIN))
!= 0);
So I think the minsym searching can't be reached for info types.
--
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:[~2024-05-24 14:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-28 22:20 [Bug symtab/15547] New: info types searches msymbols dje at google dot com
2023-12-11 0:23 ` [Bug symtab/15547] " tromey at sourceware dot org
2024-05-24 14:27 ` tromey at sourceware dot org
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).