projects
/
riscv-tests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c689ccb
)
debug: Avoid None type error
author
Megan Wachs
<megan@sifive.com>
Mon, 14 Aug 2017 20:24:04 +0000
(13:24 -0700)
committer
Megan Wachs
<megan@sifive.com>
Mon, 14 Aug 2017 20:24:04 +0000
(13:24 -0700)
debug/testlib.py
patch
|
blob
|
history
diff --git
a/debug/testlib.py
b/debug/testlib.py
index 95578eeb5de00097918389a267984317a77d05e0..8cd5f05e53070d11bc64a36a9d9f72f948b66cef 100644
(file)
--- a/
debug/testlib.py
+++ b/
debug/testlib.py
@@
-282,7
+282,7
@@
class Gdb(object):
def __init__(self,
cmd=os.path.expandvars("$RISCV/bin/riscv64-unknown-elf-gdb")):
self.child = pexpect.spawn(cmd)
-
self.child
.logfile.write("+ %s\n" % cmd)
+
Gdb
.logfile.write("+ %s\n" % cmd)
self.wait()
self.command("set confirm off")
self.command("set width 0")