[Bug ada/12574] print with name overloading
abo.pignard at wanadoo dot fr
sourceware-bugzilla@sourceware.org
Fri Jul 1 19:14:13 GMT 2022
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.
More information about the Gdb-prs
mailing list