aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-utils.h
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1994-02-26 01:52:39 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1994-02-26 01:52:39 +0000
commitc20c1bdf992a90db69c4abb73594b2ff58154ef6 (patch)
treea1ded8605b00af7e48cdb976ad19b608094a48c8 /gdb/remote-utils.h
parentd643978558037f6c74cb1180732283994fe83504 (diff)
downloadgdb-c20c1bdf992a90db69c4abb73594b2ff58154ef6.zip
gdb-c20c1bdf992a90db69c4abb73594b2ff58154ef6.tar.gz
gdb-c20c1bdf992a90db69c4abb73594b2ff58154ef6.tar.bz2
* remote.c, remote-mon.c, remote-utils.c, remote-utils.h,
target.h, remote-es.c, remote-nindy.c: Don't set baud rate if baud_rate is -1. Remove sr_get_baud_rate and sr_set_baud_rate; just use the global variable itself. When printing baud rate, don't print a baud rate if baud_rate is -1.
Diffstat (limited to 'gdb/remote-utils.h')
-rw-r--r--gdb/remote-utils.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/remote-utils.h b/gdb/remote-utils.h
index c8042d7..9c344d8 100644
--- a/gdb/remote-utils.h
+++ b/gdb/remote-utils.h
@@ -44,10 +44,6 @@ extern struct _sr_settings sr_settings;
#define sr_get_debug() (remote_debug)
#define sr_set_debug(newval) (remote_debug = (newval))
-/* get and set baud rate. */
-#define sr_get_baud_rate() (baud_rate)
-#define sr_set_baud_rate(newval) (baud_rate = (newval))
-
/* get and set timeout. */
#define sr_get_timeout() (sr_settings.timeout)
#define sr_set_timeout(newval) (sr_settings.timeout = (newval))