mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 09:38:57 +00:00
* 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:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user