* remote-array.c: Move baud_rate initialization from
_initialize_array to array_open. It was forcing the baud rate of all targets to be 4800 baud! Seems like I've fixed this before... * config/mips/idt.mt (TDEPFILES): Remove remote-array.o. This has *nothing* to do with IDT!!!
This commit is contained in:
parent
d807bd8772
commit
59227c078d
|
@ -1,5 +1,11 @@
|
||||||
Mon Oct 16 11:27:06 1995 Stu Grossman (grossman@cygnus.com)
|
Mon Oct 16 11:27:06 1995 Stu Grossman (grossman@cygnus.com)
|
||||||
|
|
||||||
|
* remote-array.c: Move baud_rate initialization from
|
||||||
|
_initialize_array to array_open. It was forcing the baud rate of
|
||||||
|
all targets to be 4800 baud! Seems like I've fixed this before...
|
||||||
|
* config/mips/idt.mt (TDEPFILES): Remove remote-array.o. This
|
||||||
|
has *nothing* to do with IDT!!!
|
||||||
|
|
||||||
* gdbtk.c (gdb_disassemble): Use fprintf_unfiltered instead of
|
* gdbtk.c (gdb_disassemble): Use fprintf_unfiltered instead of
|
||||||
fprintf_filtered.
|
fprintf_filtered.
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
# Target: Big-endian IDT board.
|
# Target: Big-endian IDT board.
|
||||||
TDEPFILES= mips-tdep.o remote-mips.o remote-array.o
|
TDEPFILES= mips-tdep.o remote-mips.o
|
||||||
TM_FILE= tm-idt.h
|
TM_FILE= tm-idt.h
|
||||||
|
|
|
@ -570,6 +570,8 @@ array_open(args, name, from_tty)
|
||||||
{
|
{
|
||||||
char packet[PBUFSIZ];
|
char packet[PBUFSIZ];
|
||||||
|
|
||||||
|
baud_rate = 4800; /* this is the only supported baud rate */
|
||||||
|
|
||||||
if (args == NULL)
|
if (args == NULL)
|
||||||
error ("Use `target %s DEVICE-NAME' to use a serial port, or \n\
|
error ("Use `target %s DEVICE-NAME' to use a serial port, or \n\
|
||||||
`target %s HOST-NAME:PORT-NUMBER' to use a network connection.", name, name);
|
`target %s HOST-NAME:PORT-NUMBER' to use a network connection.", name, name);
|
||||||
|
@ -1419,6 +1421,5 @@ void
|
||||||
_initialize_array ()
|
_initialize_array ()
|
||||||
{
|
{
|
||||||
add_target (&array_ops);
|
add_target (&array_ops);
|
||||||
baud_rate = 4800; /* this is the only supported baud rate */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue