diff options
Diffstat (limited to 'gdb/remote-array.c')
-rw-r--r-- | gdb/remote-array.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 */ } |