forked from Imagelibrary/binutils-gdb
* dsrec.c (load_srec): Remove unused variable.
monitor.c (monitor_expect): Don't expect a ^C to echo. * serial.c (serial_open): Add parallel interface. * sh3-rom.c (parallel, parallel_in_use): New. (sh3_load): If parallel_in_use, download though the parallel port. (sh3_open): Open parallel port if specified. (sh3_close): New function. (_inititalize_sh3): Add sh3_close hook and documentation. * monitor.c (monitor_close): Export. * monitor.h (monitor_close): Add prototype.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/* Generic serial interface routines
|
||||
Copyright 1992, 1993 Free Software Foundation, Inc.
|
||||
Copyright 1992, 1993, 1996 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GDB.
|
||||
|
||||
@@ -74,6 +74,8 @@ serial_open (name)
|
||||
ops = serial_interface_lookup ("pc");
|
||||
else if (strchr (name, ':'))
|
||||
ops = serial_interface_lookup ("tcp");
|
||||
else if (strncmp (name, "lpt", 3) == 0)
|
||||
ops = serial_interface_lookup ("parallel");
|
||||
else
|
||||
ops = serial_interface_lookup ("hardwire");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user