From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D720B3858CDA; Tue, 24 Oct 2023 20:19:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D720B3858CDA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1698178782; bh=iPeJR3VSMlOShhvQfwiCOzqfdnMTNrsLazkDyVRPdBs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ILiaX/S4CqTLvUeMe39o8aIrjht2ipLYjC+az6RyyJUVtoCHzjlGFdtL2P9nyxu95 J99Y4DBWSRqN95tt5LvZxA8reI39D2tFOVx3GF9gJLH6r8fZrBlVRfbY6wsOL1dJuV QJ/qoUrF0+Z9zz9VU4/GNYpclg8G2SnzwJbQs37g= From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug symtab/30996] [gdb/symtab, gdb-index] Write name_of_main/language_of_main into .gdb_index in more cases Date: Tue, 24 Oct 2023 20:19:42 +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: enhancement X-Bugzilla-Who: tromey at sourceware dot org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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=3D30996 Tom Tromey changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tromey at sourceware dot o= rg --- Comment #1 from Tom Tromey --- This may be easier once bug#30174 is done. Many languages use minsyms here, which is fast. The danger would be to have a scenario where the DWARF reader picks "main", but in reality gdb should choose some other language (e.g, Ada). But maybe we can special-case "main" in the main-finding function. --=20 You are receiving this mail because: You are on the CC list for the bug.=