summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/sim/debug.cc8
-rw-r--r--src/sim/debug.hh7
2 files changed, 0 insertions, 15 deletions
diff --git a/src/sim/debug.cc b/src/sim/debug.cc
index b8291c862..e6ce730d9 100644
--- a/src/sim/debug.cc
+++ b/src/sim/debug.cc
@@ -96,14 +96,6 @@ schedRelBreak(Tick delta)
schedBreak(curTick() + delta);
}
-void
-breakAtKernelFunction(const char* funcName)
-{
- System* curSystem = System::systemList[0];
- curSystem->addKernelFuncEvent<BreakPCEvent>(funcName,
- "GDB scheduled break", true);
-}
-
///
/// Function to cause the simulator to take a checkpoint from the debugger
///
diff --git a/src/sim/debug.hh b/src/sim/debug.hh
index 8587325e1..9bfa8981a 100644
--- a/src/sim/debug.hh
+++ b/src/sim/debug.hh
@@ -51,13 +51,6 @@ void schedBreak(Tick when);
*/
void schedRelBreak(Tick delta);
-/**
- * Cause the simulator to execute a breakpoint when
- * the given kernel function is reached
- * @param funcName the name of the kernel function at which to break
- */
-void breakAtKernelFunction(const char* funcName);
-
/** Cause the simulator to return to python to create a checkpoint
* @param when the cycle to break
*/