mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-13 02:14:39 +08:00
* array-rom.c (_initialize_array array_open): Move baud_rate
initialization from _initxxx to array_open to fix bug with overriding -b command line option.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
Fri Apr 28 23:30:00 1995 Stu Grossman (grossman@cygnus.com)
|
||||||
|
|
||||||
|
* array-rom.c (_initialize_array array_open): Move baud_rate
|
||||||
|
initialization from _initxxx to array_open to fix bug with
|
||||||
|
overriding -b command line option.
|
||||||
|
|
||||||
Thu Apr 27 20:29:34 1995 Doug Evans <dje@canuck.cygnus.com>
|
Thu Apr 27 20:29:34 1995 Doug Evans <dje@canuck.cygnus.com>
|
||||||
|
|
||||||
* Makefile.in (RUNTEST): Fix reference of `srcdir'.
|
* Makefile.in (RUNTEST): Fix reference of `srcdir'.
|
||||||
|
@ -102,6 +102,7 @@ array_open(args, from_tty)
|
|||||||
tmp_mips_processor_type = "lsi33k"; /* change the default from r3051 */
|
tmp_mips_processor_type = "lsi33k"; /* change the default from r3051 */
|
||||||
mips_set_processor_type_command ("lsi33k", 0);
|
mips_set_processor_type_command ("lsi33k", 0);
|
||||||
|
|
||||||
|
baud_rate = 4800; /* this is the only supported baud rate */
|
||||||
monitor_open (args, &array_cmds, from_tty);
|
monitor_open (args, &array_cmds, from_tty);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -120,7 +121,6 @@ Specify the serial device it is connected to (e.g. /dev/ttya).";
|
|||||||
array_ops.to_open = array_open;
|
array_ops.to_open = array_open;
|
||||||
|
|
||||||
add_target (&array_ops);
|
add_target (&array_ops);
|
||||||
baud_rate = 4800; /* this is the only supported baud rate */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user