diff options
Diffstat (limited to 'src/arch/sparc')
-rw-r--r-- | src/arch/sparc/remote_gdb.cc | 16 | ||||
-rw-r--r-- | src/arch/sparc/remote_gdb.hh | 5 |
2 files changed, 1 insertions, 20 deletions
diff --git a/src/arch/sparc/remote_gdb.cc b/src/arch/sparc/remote_gdb.cc index 778c20731..e654741b6 100644 --- a/src/arch/sparc/remote_gdb.cc +++ b/src/arch/sparc/remote_gdb.cc @@ -144,7 +144,7 @@ using namespace std; using namespace SparcISA; RemoteGDB::RemoteGDB(System *_system, ThreadContext *c) - : BaseRemoteGDB(_system, c, NumGDBRegs * sizeof(uint64_t)), nextBkpt(0) + : BaseRemoteGDB(_system, c, NumGDBRegs * sizeof(uint64_t)) {} /////////////////////////////////////////////////////////// @@ -241,17 +241,3 @@ RemoteGDB::setregs() context->setIntReg(x - RegG0, gdbregs.regs64[x]); // Only the integer registers, pc and npc are set in netbsd } - -void -RemoteGDB::clearSingleStep() -{ - if (nextBkpt) - clearTempBreakpoint(nextBkpt); -} - -void -RemoteGDB::setSingleStep() -{ - nextBkpt = context->pcState().npc(); - setTempBreakpoint(nextBkpt); -} diff --git a/src/arch/sparc/remote_gdb.hh b/src/arch/sparc/remote_gdb.hh index 0176fd323..46aa03a93 100644 --- a/src/arch/sparc/remote_gdb.hh +++ b/src/arch/sparc/remote_gdb.hh @@ -66,11 +66,6 @@ class RemoteGDB : public BaseRemoteGDB protected: void getregs(); void setregs(); - - void clearSingleStep(); - void setSingleStep(); - - Addr nextBkpt; }; } |