remote_gdb.cc:

fix remote gdb

base/remote_gdb.cc:
    fix remote gdb

--HG--
extra : convert_revision : 886cad5037e2124e6087be03f2903f07aeed0679
This commit is contained in:
Lisa Hsu 2003-12-04 19:26:31 -05:00
parent a229495400
commit b6c77fe6f8

View file

@ -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