diff options
author | Stu Grossman <grossman@cygnus> | 1995-10-16 18:59:54 +0000 |
---|---|---|
committer | Stu Grossman <grossman@cygnus> | 1995-10-16 18:59:54 +0000 |
commit | 59227c078d47b163588f87a95516bf7844c6c8b4 (patch) | |
tree | ab063374ebd88d783d0ba0d8a4b5f0e2cdaa9033 /gdb | |
parent | d807bd87724e3d38d02993a4d572693950e08a8f (diff) | |
download | gdb-59227c078d47b163588f87a95516bf7844c6c8b4.zip gdb-59227c078d47b163588f87a95516bf7844c6c8b4.tar.gz gdb-59227c078d47b163588f87a95516bf7844c6c8b4.tar.bz2 |
* 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!!!
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/config/mips/idt.mt | 2 | ||||
-rw-r--r-- | gdb/remote-array.c | 3 |
3 files changed, 9 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index da5028d..e9f44af 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,11 @@ 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 fprintf_filtered. diff --git a/gdb/config/mips/idt.mt b/gdb/config/mips/idt.mt index eb706b6..0f11645 100644 --- a/gdb/config/mips/idt.mt +++ b/gdb/config/mips/idt.mt @@ -1,3 +1,3 @@ # 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 diff --git a/gdb/remote-array.c b/gdb/remote-array.c index a09e6fc..f480beb 100644 --- a/gdb/remote-array.c +++ b/gdb/remote-array.c @@ -570,6 +570,8 @@ array_open(args, name, from_tty) { char packet[PBUFSIZ]; + baud_rate = 4800; /* this is the only supported baud rate */ + if (args == NULL) 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); @@ -1419,6 +1421,5 @@ void _initialize_array () { add_target (&array_ops); - baud_rate = 4800; /* this is the only supported baud rate */ } |