Rename "set debug coff_pe_read" command to "set debug coff-pe-read".
authorPedro Alves <palves@redhat.com>
Wed, 27 Mar 2013 09:47:41 +0000 (09:47 +0000)
committerPedro Alves <palves@redhat.com>
Wed, 27 Mar 2013 09:47:41 +0000 (09:47 +0000)
Hyphens are much more common than underscores in command names.

gdb/
2013-03-27  Pedro Alves  <palves@redhat.com>

* coff-pe-read.c (_initialize_coff_pe_read): Rename "set debug
coff_pe_read" command to "set debug coff-pe-read".

gdb/ChangeLog
gdb/coff-pe-read.c

index 35b7010b5bfbb664102d03f230e65c99d53e632f..9e7a3563db9ce79e0ae5fa2cbcaefa4242648489 100644 (file)
@@ -1,3 +1,8 @@
+2013-03-27  Pedro Alves  <palves@redhat.com>
+
+       * coff-pe-read.c (_initialize_coff_pe_read): Rename "set debug
+       coff_pe_read" command to "set debug coff-pe-read".
+
 2013-03-27  Markus Metzger  <markus.t.metzger@intel.com>
 
        * record.c (command_size_to_target_size): Fix size comparison.
index 01e9b51dc2df22a9c7cad9cbeb7b7d103662fee4..4be349d1ff4cb48b6c209216512c846398693e82 100644 (file)
@@ -707,7 +707,7 @@ void _initialize_coff_pe_read (void);
 void
 _initialize_coff_pe_read (void)
 {
-  add_setshow_zuinteger_cmd ("coff_pe_read", class_maintenance,
+  add_setshow_zuinteger_cmd ("coff-pe-read", class_maintenance,
                             &debug_coff_pe_read,
                             _("Set coff PE read debugging."),
                             _("Show coff PE read debugging."),