projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a229495
)
remote_gdb.cc:
author
Lisa Hsu
<hsul@eecs.umich.edu>
Fri, 5 Dec 2003 00:26:31 +0000
(19:26 -0500)
committer
Lisa Hsu
<hsul@eecs.umich.edu>
Fri, 5 Dec 2003 00:26:31 +0000
(19:26 -0500)
fix remote gdb
base/remote_gdb.cc:
fix remote gdb
--HG--
extra : convert_revision :
886cad5037e2124e6087be03f2903f07aeed0679
base/remote_gdb.cc
patch
|
blob
|
history
diff --git
a/base/remote_gdb.cc
b/base/remote_gdb.cc
index 6f9b35e8b273a53fb138970919f4302562634a93..35a90073a0fcf420d4a14ea0f2dd5b03c1efccbb 100644
(file)
--- a/
base/remote_gdb.cc
+++ b/
base/remote_gdb.cc
@@
-222,9
+222,6
@@
RemoteGDB::RemoteGDB(System *_system, ExecContext *c)
: event(NULL), fd(-1), active(false), attached(false),
system(_system), pmem(_system->physmem), context(c)
{
-#ifdef DEBUG
- theDebugger = this;
-#endif
memset(gdbregs, 0, sizeof(gdbregs));
}
@@
-248,6
+245,9
@@
RemoteGDB::attach(int f)
attached = true;
DPRINTFN("remote gdb attached\n");
+#ifdef DEBUG
+ theDebugger = this;
+#endif
}
void