aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1992-10-20 00:16:37 +0000
committerStu Grossman <grossman@cygnus>1992-10-20 00:16:37 +0000
commit3ec5a74b0d9f21d271adc6ec9735892942c91c39 (patch)
tree78b1892d6bd6b386e9f7aeef09c82e43475f7050
parent5a6242dddde4292bf2cd376372bc0f7a0f9b9cc5 (diff)
downloadgdb-3ec5a74b0d9f21d271adc6ec9735892942c91c39.zip
gdb-3ec5a74b0d9f21d271adc6ec9735892942c91c39.tar.gz
gdb-3ec5a74b0d9f21d271adc6ec9735892942c91c39.tar.bz2
* remote-hms.c: Disable all uses of serial_nextbaudrate and
serial_default_name().
-rw-r--r--gdb/ChangeLog3
-rw-r--r--gdb/remote-hms.c7
2 files changed, 8 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 6c160e6..276b3a2 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 cbe4748..216e5cf 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;
}
-
-