summaryrefslogtreecommitdiff
path: root/gdb/serial.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/serial.c')
-rw-r--r--gdb/serial.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/serial.c b/gdb/serial.c
index ea886a6a3c9..72bfc507713 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");