aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-array.c
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1995-11-05 00:58:57 +0000
committerFred Fish <fnf@specifix.com>1995-11-05 00:58:57 +0000
commit1738bcd31b7027c1eab8cfc680c3dcac478cd3ce (patch)
treef96348bc91e01b76c0bce0d0f52f22debcc67527 /gdb/remote-array.c
parentd9e771e3b02d6f7bffcd46e5af40724a0bea4c4d (diff)
downloadgdb-1738bcd31b7027c1eab8cfc680c3dcac478cd3ce.zip
gdb-1738bcd31b7027c1eab8cfc680c3dcac478cd3ce.tar.gz
gdb-1738bcd31b7027c1eab8cfc680c3dcac478cd3ce.tar.bz2
* Makefile.in (COMMON_OBS): Use corefile.o rather than core.o
* core.c: Rename to corefile.c. * config/pyr/tm-pyr.h, umax-xdep.c, sun386-nat.c, pyr-xdep.c, * Makefile.in (SFILES), gould-xdep.c, coredep.c, armtdep.c, arm-xdep.c, altos-xdep.c: Change core.c references to corefile.c. From Graham Stoney <greyham@research.canon.oz.au>. * Makefile.in (remote-array.o): Add rule to build. (ALLDEPFILES): Add remote-array.c * remote-array.c (baud_rate): Remove unnecessary declaration. (baudrate): Remove. (array_files_info): Print global baud_rate not baudrate.
Diffstat (limited to 'gdb/remote-array.c')
-rw-r--r--gdb/remote-array.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/remote-array.c b/gdb/remote-array.c
index f480beb..8be758e 100644
--- a/gdb/remote-array.c
+++ b/gdb/remote-array.c
@@ -41,8 +41,6 @@
#include "monitor.h"
#include "remote-utils.h"
-extern int baud_rate;
-
static const char hexchars[]="0123456789abcdef";
static char *hex2mem();
@@ -559,7 +557,6 @@ array_create_inferior (execfile, args, env)
* array_open -- open a connection to a remote debugger.
* NAME is the filename used for communication.
*/
-static int baudrate = 9600;
static char dev_name[100];
static void
@@ -845,7 +842,7 @@ static void
array_files_info ()
{
printf ("\tAttached to %s at %d baud.\n",
- dev_name, baudrate);
+ dev_name, baud_rate);
}
/*