From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D8703385C426; Fri, 17 Apr 2020 21:11:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D8703385C426 From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug ada/25837] [cc-with-debug-names] gdb.ada/big_packed_array segv Date: Fri, 17 Apr 2020 21:11:35 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: ada X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal 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: 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 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Apr 2020 21:11:36 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D25837 --- Comment #6 from Tom Tromey --- The issue in that regression seems to be that the symbol is defined for C, not Ada, so it isn't matched. Maybe the DWARF reader should be creating an Ada symbol here. <2><154e>: Abbrev Number: 3 (DW_TAG_subprogram) <154f> DW_AT_external : 1 <154f> DW_AT_name : (indirect string, offset: 0x21d8): foo_h731_021__c_func <1553> DW_AT_decl_file : 1 <1554> DW_AT_decl_line : 17 <1555> DW_AT_decl_column : 14 <1556> DW_AT_linkage_name: (indirect string, offset: 0x201d): MixedCaseFunc <155a> DW_AT_declaration : 1 I didn't debug here but I assume the "declaration" setting is preventing this. But maybe it shouldn't when the name and the mangled name are clearly different. Or maybe I should just try to understand why the patch in question could even cause this regression. It doesn't seem like that should be possible. --=20 You are receiving this mail because: You are on the CC list for the bug.=