diff options
Diffstat (limited to 'gdb/serial.c')
-rw-r--r-- | gdb/serial.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/serial.c b/gdb/serial.c index 496e308..4bbc22d 100644 --- a/gdb/serial.c +++ b/gdb/serial.c @@ -212,7 +212,9 @@ serial_open (name) return scb; } - if (strcmp (name, "pc") == 0) + if (strcmp (name, "ocd") == 0) + ops = serial_interface_lookup ("ocd"); + else if (strcmp (name, "pc") == 0) ops = serial_interface_lookup ("pc"); else if (strchr (name, ':')) ops = serial_interface_lookup ("tcp"); |