From 3ec5a74b0d9f21d271adc6ec9735892942c91c39 Mon Sep 17 00:00:00 2001 From: Stu Grossman Date: Tue, 20 Oct 1992 00:16:37 +0000 Subject: [PATCH] * remote-hms.c: Disable all uses of serial_nextbaudrate and serial_default_name(). --- gdb/ChangeLog | 3 +++ gdb/remote-hms.c | 7 +++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6c160e6f57f..276b3a258b5 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,8 @@ Mon Oct 19 15:09:57 1992 Stu Grossman (grossman at cygnus.com) + * remote-hms.c: Disable all uses of serial_nextbaudrate and + serial_default_name(). + * remote-hms.c, ser-go32.c, serial.h: Change from serial_timedreadchar() to new serial_readchar(). diff --git a/gdb/remote-hms.c b/gdb/remote-hms.c index cbe4748943c..216e5cf3cc7 100644 --- a/gdb/remote-hms.c +++ b/gdb/remote-hms.c @@ -564,6 +564,7 @@ set_rate() static void get_baudrate_right() { +#if 0 while (!is_baudrate_right()) { baudrate = serial_nextbaudrate(baudrate); @@ -575,6 +576,7 @@ get_baudrate_right() QUIT; serial_setbaudrate(baudrate); } +#endif } static void @@ -1398,7 +1400,8 @@ _initialize_remote_hms () add_com ("speed", class_obscure, hms_speed, "Set the terminal line speed for HMS communications"); +#if 0 dev_name = serial_default_name(); +#endif + dev_name = NULL; } - - -- 2.30.2