projects
/
riscv-isa-sim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Entering debug mode now jumps to "dynamic rom"
[riscv-isa-sim.git]
/
spike_main
/
xspike.cc
diff --git
a/spike_main/xspike.cc
b/spike_main/xspike.cc
index 4331dbe5e94cb9a6f4d14cce597107cc837eb177..f8c8ca7e3e9b4cf31da88e606b908c01259bb476 100644
(file)
--- a/
spike_main/xspike.cc
+++ b/
spike_main/xspike.cc
@@
-90,7
+90,7
@@
static pid_t fork_xterm(int* tty_fd)
return -1;
}
- char tty[
NAME
_MAX];
+ char tty[
PATH
_MAX];
ssize_t ttylen = read(fds[0], tty, sizeof(tty));
if (ttylen <= 1 || tty[ttylen-1] != '\n')
return -1;