From 67d0b0790afe5ffe70c4ad93df6e28ec663a3861 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Tue, 21 Jul 2009 01:50:01 +0000 Subject: [PATCH] Added TODO regarding issues with recursive functions. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31665 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/debugger/ThreadHandler.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/apps/debugger/ThreadHandler.cpp b/src/apps/debugger/ThreadHandler.cpp index c5108a3bd7..4170e6688b 100644 --- a/src/apps/debugger/ThreadHandler.cpp +++ b/src/apps/debugger/ThreadHandler.cpp @@ -252,6 +252,10 @@ ThreadHandler::HandleThreadAction(uint32 action) if (frame->Type() == STACK_FRAME_TYPE_SYSCALL) { // set a breakpoint at the CPU state's instruction pointer (points to // the return address, unlike the stack frame's instruction pointer) +// TODO: That's OK in principle, but needs additional work with recursive +// functions. We need to store some information that allows us to determine +// whether we've actually stepped out of the current frame when we have hit +// the breakpoint. status_t error = _InstallTemporaryBreakpoint( frame->GetCpuState()->InstructionPointer()); if (error != B_OK) {