Default to openocd, not riscv-openocd
authorTim Newsome <tim@sifive.com>
Fri, 9 Jun 2017 17:59:43 +0000 (10:59 -0700)
committerTim Newsome <tim@sifive.com>
Fri, 9 Jun 2017 18:01:17 +0000 (11:01 -0700)
AFAICT the normal build process never builds a binary called
riscv-openocd.

debug/testlib.py

index 8855e248150c862ec7adff6891bd089013dce8a5..27bef1a7699c9d9d0f66a13fe416c0d8e954663a 100644 (file)
@@ -161,7 +161,7 @@ class Openocd(object):
         if server_cmd:
             cmd = shlex.split(server_cmd)
         else:
-            openocd = os.path.expandvars("$RISCV/bin/riscv-openocd")
+            openocd = os.path.expandvars("$RISCV/bin/openocd")
             cmd = [openocd]
             if debug:
                 cmd.append("-d")