remote_gdb.cc:
fix remote gdb base/remote_gdb.cc: fix remote gdb --HG-- extra : convert_revision : 886cad5037e2124e6087be03f2903f07aeed0679
This commit is contained in:
parent
a229495400
commit
b6c77fe6f8
|
@ -222,9 +222,6 @@ RemoteGDB::RemoteGDB(System *_system, ExecContext *c)
|
||||||
: event(NULL), fd(-1), active(false), attached(false),
|
: event(NULL), fd(-1), active(false), attached(false),
|
||||||
system(_system), pmem(_system->physmem), context(c)
|
system(_system), pmem(_system->physmem), context(c)
|
||||||
{
|
{
|
||||||
#ifdef DEBUG
|
|
||||||
theDebugger = this;
|
|
||||||
#endif
|
|
||||||
memset(gdbregs, 0, sizeof(gdbregs));
|
memset(gdbregs, 0, sizeof(gdbregs));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -248,6 +245,9 @@ RemoteGDB::attach(int f)
|
||||||
|
|
||||||
attached = true;
|
attached = true;
|
||||||
DPRINTFN("remote gdb attached\n");
|
DPRINTFN("remote gdb attached\n");
|
||||||
|
#ifdef DEBUG
|
||||||
|
theDebugger = this;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in a new issue