aboutsummaryrefslogtreecommitdiff
path: root/gdb/serial.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/serial.c')
-rw-r--r--gdb/serial.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/serial.c b/gdb/serial.c
index 7fde64e..e843e0e 100644
--- a/gdb/serial.c
+++ b/gdb/serial.c
@@ -672,11 +672,11 @@ by gdbserver.",
&setlist),
&showlist);
- add_show_from_set (add_set_cmd ("serialdebug",
+ add_show_from_set (add_set_cmd ("serial",
class_maintenance,
var_zinteger,
(char *)&global_serial_debug_p,
"Set serial debugging.\n\
-When non-zero, serial port debugging is enabled.", &setlist),
- &showlist);
+When non-zero, serial port debugging is enabled.", &setdebuglist),
+ &showdebuglist);
}