From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A5B10386C583; Fri, 24 May 2024 14:27:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A5B10386C583 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1716560845; bh=QwYITPlzpqJY3X/OD10H+ArD049iVvAxhKuSnr+dSJM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=fxUnio7YX1gbAA7zCNpF6GV2NdLfU7cXg/M32cjv+PY+R2045iSNSNJbDGOJpO/R3 NCA8ncaJXzqTyLANgIoijkFQirxWEq0n34D1TmPkwgbud99TOeSid+ws1QZTpUxXlh ivfCZ/goF2KUkHS2JtslSFSrdkn07sumH5Gbr47c= From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug symtab/15547] info types searches msymbols Date: Fri, 24 May 2024 14:27:23 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: symtab X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tromey at sourceware dot org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D15547 Tom Tromey changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #2 from Tom Tromey --- 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) !=3D 0)) && !m_exclude_minsyms && !treg.has_value ()) { gdb_assert ((m_kind & (SEARCH_VAR_DOMAIN | SEARCH_FUNCTION_DOMAIN)) !=3D 0); So I think the minsym searching can't be reached for info types. --=20 You are receiving this mail because: You are on the CC list for the bug.=