This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug exp/21827] New: Regression: gdb command lookup became case-insensitive
- From: "source-ware at trk dot nickurak.ca" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Mon, 24 Jul 2017 16:08:49 +0000
- Subject: [Bug exp/21827] New: Regression: gdb command lookup became case-insensitive
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=21827
Bug ID: 21827
Summary: Regression: gdb command lookup became case-insensitive
Product: gdb
Version: 8.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: exp
Assignee: unassigned at sourceware dot org
Reporter: source-ware at trk dot nickurak.ca
Target Milestone: ---
Input:
$ echo -e 'define aSDF\n print "in-func" \n end \n aSDF \n aSDF \n asdf"' | gdb
Expected behavior, as correctly observed in 7.x:
* function gets defined
* function gets called twice
$ echo -e 'define aSDF\n print "in-func" \n end \n aSDF \n aSDF \n asdf"' | gdb
GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>.
(gdb) >>(gdb) $1 = "in-func"
(gdb) $2 = "in-func"
(gdb) $3 = "in-func"
Observed behavior, incorrect under 8.x:
* function gets defined but converted to lower-case
* calling function capitalized in the same was as it was defined fails
$ echo -e 'define aSDF\n print "in-func" \n end \n aSDF \n aSDF \n asdf"' | gdb
GNU gdb (GDB) Fedora 8.0-13.fc26
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(gdb) >>(gdb) Undefined command: "aSDF". Try "help".
(gdb) Undefined command: "aSDF". Try "help".
(gdb) $1 = "in-func"
--
You are receiving this mail because:
You are on the CC list for the bug.