diff options
author | Steve Chamberlain <sac@cygnus> | 1996-01-13 00:21:55 +0000 |
---|---|---|
committer | Steve Chamberlain <sac@cygnus> | 1996-01-13 00:21:55 +0000 |
commit | c84e500001e7cb3d349291d50c51f2b5cf3668db (patch) | |
tree | ace4772c77341fb1b4b518f613d1d4a8650b9754 /gdb/serial.c | |
parent | 2afa4f215e5d861a0aabe3d00d7fd3dbe05379ef (diff) | |
download | gdb-c84e500001e7cb3d349291d50c51f2b5cf3668db.zip gdb-c84e500001e7cb3d349291d50c51f2b5cf3668db.tar.gz gdb-c84e500001e7cb3d349291d50c51f2b5cf3668db.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/serial.c')
-rw-r--r-- | gdb/serial.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/serial.c b/gdb/serial.c index ea886a6..72bfc50 100644 --- a/gdb/serial.c +++ b/gdb/serial.c @@ -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"); |