From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B2028385801E; Thu, 17 Mar 2022 16:36:33 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B2028385801E From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug ada/12574] print with name overloading Date: Thu, 17 Mar 2022 16:36:33 +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: 7.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tromey at sourceware dot org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: WORKSFORME 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 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 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: Thu, 17 Mar 2022 16:36:33 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D12574 Tom Tromey changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tromey at sourceware dot o= rg Resolution|--- |WORKSFORME Status|NEW |RESOLVED --- Comment #1 from Tom Tromey --- I think this works now. I see: (gdb) p my_string Multiple matches for my_string [0] cancel [1] my_string at testnest.adb:15 [2] my_string at testnest.adb:24 [3] my_string at testnest.adb:28 > 1 $4 =3D "Local Test String" (gdb) p my_string Multiple matches for my_string [0] cancel [1] my_string at testnest.adb:15 [2] my_string at testnest.adb:24 [3] my_string at testnest.adb:28 > 2 $5 =3D "Inner Test String" (gdb) p my_string Multiple matches for my_string [0] cancel [1] my_string at testnest.adb:15 [2] my_string at testnest.adb:24 [3] my_string at testnest.adb:28 > 3 $6 =3D "Really Local String" I'm not sure what was wrong earlier. It might have been bad debug info. --=20 You are receiving this mail because: You are on the CC list for the bug.=