From 1738bcd31b7027c1eab8cfc680c3dcac478cd3ce Mon Sep 17 00:00:00 2001 From: Fred Fish Date: Sun, 5 Nov 1995 00:58:57 +0000 Subject: * 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 . * 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. --- gdb/remote-array.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'gdb/remote-array.c') 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); } /* -- cgit v1.1