aboutsummaryrefslogtreecommitdiff
path: root/gdb/serial.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-02-24 03:59:50 +0000
committerAndrew Cagney <cagney@redhat.com>2002-02-24 03:59:50 +0000
commit50a9e2f10c9eff04f5a218a9be851df92109ab29 (patch)
tree0540274c32ab4c3170d46b2914626874a425602f /gdb/serial.c
parent8b6e79328f5ec33bad37c035e3cd0390ff82d556 (diff)
downloadgdb-50a9e2f10c9eff04f5a218a9be851df92109ab29.zip
gdb-50a9e2f10c9eff04f5a218a9be851df92109ab29.tar.gz
gdb-50a9e2f10c9eff04f5a218a9be851df92109ab29.tar.bz2
* ocd.c (ocd_open): Do not try to open the "ocd" device.
* serial.c (serial_open): Delete check for "ocd". Fix PR gdb/349.
Diffstat (limited to 'gdb/serial.c')
-rw-r--r--gdb/serial.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/serial.c b/gdb/serial.c
index 0e349f7..22964eb 100644
--- a/gdb/serial.c
+++ b/gdb/serial.c
@@ -185,9 +185,7 @@ serial_open (const char *name)
return scb;
}
- if (strcmp (name, "ocd") == 0)
- ops = serial_interface_lookup ("ocd");
- else if (strcmp (name, "pc") == 0)
+ if (strcmp (name, "pc") == 0)
ops = serial_interface_lookup ("pc");
else if (strchr (name, ':'))
ops = serial_interface_lookup ("tcp");