For now, treat breakpoint hits like regular stops when calculation InlinedStackDepth.

llvm-svn: 163365
This commit is contained in:
Jim Ingham 2012-09-07 01:11:08 +00:00
parent be33217bb8
commit 7da851a3e2
1 changed files with 6 additions and 5 deletions

View File

@ -136,11 +136,6 @@ StackFrameList::ResetCurrentInlinedDepth ()
{ {
switch (stop_info_sp->GetStopReason()) switch (stop_info_sp->GetStopReason())
{ {
case eStopReasonBreakpoint:
{
}
break;
case eStopReasonWatchpoint: case eStopReasonWatchpoint:
case eStopReasonException: case eStopReasonException:
case eStopReasonSignal: case eStopReasonSignal:
@ -148,6 +143,12 @@ StackFrameList::ResetCurrentInlinedDepth ()
m_current_inlined_pc = curr_pc; m_current_inlined_pc = curr_pc;
m_current_inlined_depth = 0; m_current_inlined_depth = 0;
break; break;
case eStopReasonBreakpoint:
{
// FIXME: Figure out what this break point is doing, and set the inline depth
// appropriately. Be careful to take into account breakpoints that implement
// step over prologue, since that should do the default calculation.
}
default: default:
{ {
// Otherwise, we should set ourselves at the container of the inlining, so that the // Otherwise, we should set ourselves at the container of the inlining, so that the