public inbox for gdb-testers@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb/gdb-8.0-branch] define_command: Don't convert command name to lower case
@ 2017-08-28 22:06 sergiodj+buildbot
  2017-08-28 22:13 ` Failures on Fedora-s390x-m64, branch gdb-8.0-branch sergiodj+buildbot
                   ` (14 more replies)
  0 siblings, 15 replies; 18+ messages in thread
From: sergiodj+buildbot @ 2017-08-28 22:06 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 95eeca3bccb6121c201183e21cb5fc39a6b711a2 ***

Author: Simon Marchi <simon.marchi@ericsson.com>
Branch: gdb-8.0-branch
Commit: 95eeca3bccb6121c201183e21cb5fc39a6b711a2

define_command: Don't convert command name to lower case

Commit

  Command names: make them case sensitive
  3d7b173c29900879c9a5958dd6029fd36666e57c

made command name lookup case sensitive.  However, define_command, used
when creating a user-defined command, converts the command name to
lowercase, assuming that the command name lookup works in a case
insensitive way.  This causes user-defined commands with capital letters
in their name to only be callable with a lowercase version:

  (gdb) define Foo
  Type commands for definition of "Foo".
  End with a line saying just "end".
  >print 1
  >end
  (gdb) Foo
  Undefined command: "Foo".  Try "help".
  (gdb) foo
  $1 = 1

This patch removes that conversion to lowercase, so that the user can
call the command with the same name they provided.

gdb/ChangeLog:

	* cli/cli-script.c (define_command): Don't convert command name
	to lower case.

gdb/testsuite/ChangeLog:

	* gdb.base/commands.exp (user_defined_command_case_sensitivity):
	New proc, call it from toplevel.


^ permalink raw reply	[flat|nested] 18+ messages in thread
[parent not found: <f74f69f45570ced87b9f778983a63157b551a129@gdb-build>]
[parent not found: <06f84c95a2d88d03c1c231bfd436ac9d225d6615@gdb-build>]

end of thread, other threads:[~2017-09-10  3:11 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-28 22:06 [binutils-gdb/gdb-8.0-branch] define_command: Don't convert command name to lower case sergiodj+buildbot
2017-08-28 22:13 ` Failures on Fedora-s390x-m64, branch gdb-8.0-branch sergiodj+buildbot
2017-08-28 22:19 ` Failures on Ubuntu-AArch32-native-extended-gdbserver-m32, " sergiodj+buildbot
2017-08-28 22:42 ` Failures on Ubuntu-AArch32-native-gdbserver-m32, " sergiodj+buildbot
2017-08-28 22:43 ` Failures on Fedora-x86_64-native-gdbserver-m64, " sergiodj+buildbot
2017-08-28 22:48 ` Failures on Ubuntu-AArch32-m32, " sergiodj+buildbot
2017-08-28 22:50 ` Failures on Ubuntu-AArch64-native-gdbserver-m64, " sergiodj+buildbot
2017-08-28 22:55 ` Failures on Fedora-x86_64-native-gdbserver-m32, " sergiodj+buildbot
2017-08-28 22:56 ` Failures on Fedora-x86_64-native-extended-gdbserver-m64, " sergiodj+buildbot
2017-08-28 22:58 ` Failures on Fedora-x86_64-m32, " sergiodj+buildbot
2017-08-28 23:04 ` Failures on Fedora-x86_64-cc-with-index, " sergiodj+buildbot
2017-08-28 23:04 ` Failures on Fedora-i686, " sergiodj+buildbot
2017-09-08 11:25 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, " sergiodj+buildbot
2017-09-09  0:01 ` Failures on Fedora-ppc64le-native-gdbserver-m64, " sergiodj+buildbot
2017-09-09 18:22 ` Failures on Fedora-ppc64be-native-gdbserver-m64, " sergiodj+buildbot
2017-09-10  4:22 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, " sergiodj+buildbot
     [not found] <f74f69f45570ced87b9f778983a63157b551a129@gdb-build>
2017-08-29 22:18 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, " sergiodj+buildbot
     [not found] <06f84c95a2d88d03c1c231bfd436ac9d225d6615@gdb-build>
2017-08-27 14:46 ` sergiodj+buildbot

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).