public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: "abo.pignard at wanadoo dot fr" <sourceware-bugzilla@sourceware.org> To: gdb-prs@sourceware.org Subject: [Bug ada/12574] print with name overloading Date: Fri, 01 Jul 2022 19:14:13 +0000 [thread overview] Message-ID: <bug-12574-4717-pITCJDsVCW@http.sourceware.org/bugzilla/> (raw) In-Reply-To: <bug-12574-4717@http.sourceware.org/bugzilla/> https://sourceware.org/bugzilla/show_bug.cgi?id=12574 abo.pignard at wanadoo dot fr changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED --- Comment #2 from abo.pignard at wanadoo dot fr --- Verified with: % gdb -v GNU gdb (GDB) 12.1 ... % gdb bin/testnest ... 31 Put_line (My_String); (gdb) print my_string Multiple matches for my_string [0] cancel [1] my_string at /Users/blady/Documents/Programmation/AdaCore/Tests/2022/testnest.adb:15 [2] my_string at /Users/blady/Documents/Programmation/AdaCore/Tests/2022/testnest.adb:24 [3] my_string at /Users/blady/Documents/Programmation/AdaCore/Tests/2022/testnest.adb:28 > 1 $2 = "Local Test String" (gdb) print my_string Multiple matches for my_string [0] cancel [1] my_string at /Users/blady/Documents/Programmation/AdaCore/Tests/2022/testnest.adb:15 [2] my_string at /Users/blady/Documents/Programmation/AdaCore/Tests/2022/testnest.adb:24 [3] my_string at /Users/blady/Documents/Programmation/AdaCore/Tests/2022/testnest.adb:28 > 2 $3 = "Inner Test String" (gdb) print my_string Multiple matches for my_string [0] cancel [1] my_string at /Users/blady/Documents/Programmation/AdaCore/Tests/2022/testnest.adb:15 [2] my_string at /Users/blady/Documents/Programmation/AdaCore/Tests/2022/testnest.adb:24 [3] my_string at /Users/blady/Documents/Programmation/AdaCore/Tests/2022/testnest.adb:28 > 3 $4 = "Really Local String" ... 35 Put_line (s); -- line35 (gdb) print my_string $5 = "Local Test String" -- You are receiving this mail because: You are on the CC list for the bug.
prev parent reply other threads:[~2022-07-01 19:14 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-03-12 9:20 [Bug ada/12574] New: " abo.pignard at wanadoo dot fr 2022-03-17 16:36 ` [Bug ada/12574] " tromey at sourceware dot org 2022-07-01 19:14 ` abo.pignard at wanadoo dot fr [this message]
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-12574-4717-pITCJDsVCW@http.sourceware.org/bugzilla/ \ --to=sourceware-bugzilla@sourceware.org \ --cc=gdb-prs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).