diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-02-24 03:59:50 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-02-24 03:59:50 +0000 |
commit | 7ccb530c93f764536739c279a5063b9cfa08ffae (patch) | |
tree | 631bc2fac91ba12938de3688aa28edf3d0401ac0 /gdb/serial.c | |
parent | 9e89e4cdfeae7c41798174f75abd00f67aa7ae2d (diff) | |
download | gdb-7ccb530c93f764536739c279a5063b9cfa08ffae.tar.gz |
* 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.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/serial.c b/gdb/serial.c index 0e349f78af4..22964eb3f98 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"); |