mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-28 06:03:00 +08:00
* 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.
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user