* ocd.c (ocd_open): Do not try to open the "ocd" device.

* serial.c (serial_open): Delete check for "ocd".
Fix PR gdb/349.
This commit is contained in:
Andrew Cagney
2002-02-24 03:59:50 +00:00
parent 8b6e79328f
commit 50a9e2f10c
3 changed files with 8 additions and 26 deletions

View File

@@ -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");