130fdc8d8SChris Lattner //===-- ThreadPlanStepOverRange.cpp -----------------------------*- C++ -*-===// 230fdc8d8SChris Lattner // 330fdc8d8SChris Lattner // The LLVM Compiler Infrastructure 430fdc8d8SChris Lattner // 530fdc8d8SChris Lattner // This file is distributed under the University of Illinois Open Source 630fdc8d8SChris Lattner // License. See LICENSE.TXT for details. 730fdc8d8SChris Lattner // 830fdc8d8SChris Lattner //===----------------------------------------------------------------------===// 930fdc8d8SChris Lattner 1030fdc8d8SChris Lattner #include "lldb/Target/ThreadPlanStepOverRange.h" 1130fdc8d8SChris Lattner 1230fdc8d8SChris Lattner // C Includes 1330fdc8d8SChris Lattner // C++ Includes 1430fdc8d8SChris Lattner // Other libraries and framework includes 1530fdc8d8SChris Lattner // Project includes 1630fdc8d8SChris Lattner 1730fdc8d8SChris Lattner #include "lldb/lldb-private-log.h" 1830fdc8d8SChris Lattner #include "lldb/Core/Log.h" 1930fdc8d8SChris Lattner #include "lldb/Core/Stream.h" 20513c6bb8SJim Ingham #include "lldb/Symbol/Block.h" 213bfa753fSJim Ingham #include "lldb/Symbol/CompileUnit.h" 22513c6bb8SJim Ingham #include "lldb/Symbol/Function.h" 233bfa753fSJim Ingham #include "lldb/Symbol/LineTable.h" 2430fdc8d8SChris Lattner #include "lldb/Target/Process.h" 2530fdc8d8SChris Lattner #include "lldb/Target/RegisterContext.h" 26514487e8SGreg Clayton #include "lldb/Target/Target.h" 2730fdc8d8SChris Lattner #include "lldb/Target/Thread.h" 2830fdc8d8SChris Lattner #include "lldb/Target/ThreadPlanStepOut.h" 2930fdc8d8SChris Lattner #include "lldb/Target/ThreadPlanStepThrough.h" 3030fdc8d8SChris Lattner 3130fdc8d8SChris Lattner using namespace lldb_private; 322d4edfbcSGreg Clayton using namespace lldb; 3330fdc8d8SChris Lattner 3430fdc8d8SChris Lattner 3530fdc8d8SChris Lattner //---------------------------------------------------------------------- 3630fdc8d8SChris Lattner // ThreadPlanStepOverRange: Step through a stack range, either stepping over or into 3730fdc8d8SChris Lattner // based on the value of \a type. 3830fdc8d8SChris Lattner //---------------------------------------------------------------------- 3930fdc8d8SChris Lattner 4030fdc8d8SChris Lattner ThreadPlanStepOverRange::ThreadPlanStepOverRange 4130fdc8d8SChris Lattner ( 4230fdc8d8SChris Lattner Thread &thread, 4330fdc8d8SChris Lattner const AddressRange &range, 4430fdc8d8SChris Lattner const SymbolContext &addr_context, 4564e7ead1SJim Ingham lldb::RunMode stop_others 4630fdc8d8SChris Lattner ) : 47513c6bb8SJim Ingham ThreadPlanStepRange (ThreadPlan::eKindStepOverRange, "Step range stepping over", thread, range, addr_context, stop_others), 48513c6bb8SJim Ingham m_first_resume(true) 4930fdc8d8SChris Lattner { 5030fdc8d8SChris Lattner } 5130fdc8d8SChris Lattner 5230fdc8d8SChris Lattner ThreadPlanStepOverRange::~ThreadPlanStepOverRange () 5330fdc8d8SChris Lattner { 5430fdc8d8SChris Lattner } 5530fdc8d8SChris Lattner 5630fdc8d8SChris Lattner void 5730fdc8d8SChris Lattner ThreadPlanStepOverRange::GetDescription (Stream *s, lldb::DescriptionLevel level) 5830fdc8d8SChris Lattner { 5930fdc8d8SChris Lattner if (level == lldb::eDescriptionLevelBrief) 6030fdc8d8SChris Lattner s->Printf("step over"); 6130fdc8d8SChris Lattner else 6230fdc8d8SChris Lattner { 6330fdc8d8SChris Lattner s->Printf ("stepping through range (stepping over functions): "); 64c4c9fedcSJim Ingham DumpRanges(s); 6530fdc8d8SChris Lattner } 6630fdc8d8SChris Lattner } 6730fdc8d8SChris Lattner 6830fdc8d8SChris Lattner bool 694b86728bSDaniel Malea ThreadPlanStepOverRange::IsEquivalentContext(const SymbolContext &context) 704b86728bSDaniel Malea { 714b86728bSDaniel Malea 724b86728bSDaniel Malea // Match as much as is specified in the m_addr_context: 734b86728bSDaniel Malea // This is a fairly loose sanity check. Note, sometimes the target doesn't get filled 744b86728bSDaniel Malea // in so I left out the target check. And sometimes the module comes in as the .o file from the 754b86728bSDaniel Malea // inlined range, so I left that out too... 764b86728bSDaniel Malea if (m_addr_context.comp_unit) 774b86728bSDaniel Malea { 784b86728bSDaniel Malea if (m_addr_context.comp_unit == context.comp_unit) 794b86728bSDaniel Malea { 804b86728bSDaniel Malea if (m_addr_context.function && m_addr_context.function == context.function) 814b86728bSDaniel Malea { 824b86728bSDaniel Malea if (m_addr_context.block && m_addr_context.block == context.block) 834b86728bSDaniel Malea return true; 844b86728bSDaniel Malea } 854b86728bSDaniel Malea } 864b86728bSDaniel Malea } 874b86728bSDaniel Malea else if (m_addr_context.symbol && m_addr_context.symbol == context.symbol) 884b86728bSDaniel Malea { 894b86728bSDaniel Malea return true; 904b86728bSDaniel Malea } 914b86728bSDaniel Malea return false; 924b86728bSDaniel Malea } 934b86728bSDaniel Malea 944b86728bSDaniel Malea bool 9530fdc8d8SChris Lattner ThreadPlanStepOverRange::ShouldStop (Event *event_ptr) 9630fdc8d8SChris Lattner { 975160ce5cSGreg Clayton Log *log(lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_STEP)); 9830fdc8d8SChris Lattner 9930fdc8d8SChris Lattner if (log) 10030fdc8d8SChris Lattner { 10130fdc8d8SChris Lattner StreamString s; 102514487e8SGreg Clayton s.Address (m_thread.GetRegisterContext()->GetPC(), 1031ac04c30SGreg Clayton m_thread.CalculateTarget()->GetArchitecture().GetAddressByteSize()); 10430fdc8d8SChris Lattner log->Printf("ThreadPlanStepOverRange reached %s.", s.GetData()); 10530fdc8d8SChris Lattner } 10630fdc8d8SChris Lattner 10730fdc8d8SChris Lattner // If we're out of the range but in the same frame or in our caller's frame 10830fdc8d8SChris Lattner // then we should stop. 1094a58e968SJim Ingham // When stepping out we only stop others if we are forcing running one thread. 11030fdc8d8SChris Lattner bool stop_others; 11130fdc8d8SChris Lattner if (m_stop_others == lldb::eOnlyThisThread) 11230fdc8d8SChris Lattner stop_others = true; 11330fdc8d8SChris Lattner else 11430fdc8d8SChris Lattner stop_others = false; 11530fdc8d8SChris Lattner 1164d56e9c1SJim Ingham ThreadPlanSP new_plan_sp; 11730fdc8d8SChris Lattner 118b5c0d1ccSJim Ingham FrameComparison frame_order = CompareCurrentFrameToStartFrame(); 119b5c0d1ccSJim Ingham 120b5c0d1ccSJim Ingham if (frame_order == eFrameCompareOlder) 1215822173bSJim Ingham { 1225822173bSJim Ingham // If we're in an older frame then we should stop. 1235822173bSJim Ingham // 1245822173bSJim Ingham // A caveat to this is if we think the frame is older but we're actually in a trampoline. 1255822173bSJim Ingham // I'm going to make the assumption that you wouldn't RETURN to a trampoline. So if we are 1265822173bSJim Ingham // in a trampoline we think the frame is older because the trampoline confused the backtracer. 1275822173bSJim Ingham // As below, we step through first, and then try to figure out how to get back out again. 1285822173bSJim Ingham 1294d56e9c1SJim Ingham new_plan_sp = m_thread.QueueThreadPlanForStepThrough (m_stack_id, false, stop_others); 1305822173bSJim Ingham 1314d56e9c1SJim Ingham if (new_plan_sp && log) 1325822173bSJim Ingham log->Printf("Thought I stepped out, but in fact arrived at a trampoline."); 1335822173bSJim Ingham } 134b5c0d1ccSJim Ingham else if (frame_order == eFrameCompareYounger) 135b5c0d1ccSJim Ingham { 136b5c0d1ccSJim Ingham // Make sure we really are in a new frame. Do that by unwinding and seeing if the 137b5c0d1ccSJim Ingham // start function really is our start function... 1384b86728bSDaniel Malea for(uint32_t i = 1;; ++i) 139b5c0d1ccSJim Ingham { 140*b57e4a1bSJason Molenda StackFrameSP older_frame_sp = m_thread.GetStackFrameAtIndex(i); 1414b86728bSDaniel Malea if (!older_frame_sp) { 1424b86728bSDaniel Malea // We can't unwind the next frame we should just get out of here & stop... 1434b86728bSDaniel Malea break; 1444b86728bSDaniel Malea } 1454b86728bSDaniel Malea 146b5c0d1ccSJim Ingham const SymbolContext &older_context = older_frame_sp->GetSymbolContext(eSymbolContextEverything); 1474b86728bSDaniel Malea if (IsEquivalentContext(older_context)) 14830fdc8d8SChris Lattner { 1494d56e9c1SJim Ingham new_plan_sp = m_thread.QueueThreadPlanForStepOut (false, 150481cef25SGreg Clayton NULL, 151481cef25SGreg Clayton true, 152481cef25SGreg Clayton stop_others, 153e0d378b3SGreg Clayton eVoteNo, 154e0d378b3SGreg Clayton eVoteNoOpinion, 155481cef25SGreg Clayton 0); 1564b86728bSDaniel Malea break; 15730fdc8d8SChris Lattner } 158b5c0d1ccSJim Ingham else 159b5c0d1ccSJim Ingham { 1604d56e9c1SJim Ingham new_plan_sp = m_thread.QueueThreadPlanForStepThrough (m_stack_id, false, stop_others); 161b5c0d1ccSJim Ingham } 162b5c0d1ccSJim Ingham } 163b5c0d1ccSJim Ingham } 164564d8bc2SJim Ingham else 165564d8bc2SJim Ingham { 166564d8bc2SJim Ingham // If we're still in the range, keep going. 167564d8bc2SJim Ingham if (InRange()) 168564d8bc2SJim Ingham { 169564d8bc2SJim Ingham SetNextBranchBreakpoint(); 170564d8bc2SJim Ingham return false; 171564d8bc2SJim Ingham } 172564d8bc2SJim Ingham 173564d8bc2SJim Ingham 174564d8bc2SJim Ingham if (!InSymbol()) 17530fdc8d8SChris Lattner { 17630fdc8d8SChris Lattner // This one is a little tricky. Sometimes we may be in a stub or something similar, 17730fdc8d8SChris Lattner // in which case we need to get out of there. But if we are in a stub then it's 17830fdc8d8SChris Lattner // likely going to be hard to get out from here. It is probably easiest to step into the 17930fdc8d8SChris Lattner // stub, and then it will be straight-forward to step out. 1804d56e9c1SJim Ingham new_plan_sp = m_thread.QueueThreadPlanForStepThrough (m_stack_id, false, stop_others); 18130fdc8d8SChris Lattner } 1823bfa753fSJim Ingham else 1833bfa753fSJim Ingham { 1843bfa753fSJim Ingham // The current clang (at least through 424) doesn't always get the address range for the 1853bfa753fSJim Ingham // DW_TAG_inlined_subroutines right, so that when you leave the inlined range the line table says 1863bfa753fSJim Ingham // you are still in the source file of the inlining function. This is bad, because now you are missing 1873bfa753fSJim Ingham // the stack frame for the function containing the inlining, and if you sensibly do "finish" to get 1883bfa753fSJim Ingham // out of this function you will instead exit the containing function. 1893bfa753fSJim Ingham // To work around this, we check whether we are still in the source file we started in, and if not assume 1903bfa753fSJim Ingham // it is an error, and push a plan to get us out of this line and back to the containing file. 1913bfa753fSJim Ingham 1923bfa753fSJim Ingham if (m_addr_context.line_entry.IsValid()) 1933bfa753fSJim Ingham { 1943bfa753fSJim Ingham SymbolContext sc; 195*b57e4a1bSJason Molenda StackFrameSP frame_sp = m_thread.GetStackFrameAtIndex(0); 1963bfa753fSJim Ingham sc = frame_sp->GetSymbolContext (eSymbolContextEverything); 1973bfa753fSJim Ingham if (sc.line_entry.IsValid()) 1983bfa753fSJim Ingham { 1993bfa753fSJim Ingham if (sc.line_entry.file != m_addr_context.line_entry.file 2003bfa753fSJim Ingham && sc.comp_unit == m_addr_context.comp_unit 2013bfa753fSJim Ingham && sc.function == m_addr_context.function) 2023bfa753fSJim Ingham { 2033bfa753fSJim Ingham // Okay, find the next occurance of this file in the line table: 2043bfa753fSJim Ingham LineTable *line_table = m_addr_context.comp_unit->GetLineTable(); 2053bfa753fSJim Ingham if (line_table) 2063bfa753fSJim Ingham { 2073bfa753fSJim Ingham Address cur_address = frame_sp->GetFrameCodeAddress(); 2083bfa753fSJim Ingham uint32_t entry_idx; 2093bfa753fSJim Ingham LineEntry line_entry; 2103bfa753fSJim Ingham if (line_table->FindLineEntryByAddress (cur_address, line_entry, &entry_idx)) 2113bfa753fSJim Ingham { 2123bfa753fSJim Ingham LineEntry next_line_entry; 2133bfa753fSJim Ingham bool step_past_remaining_inline = false; 2143bfa753fSJim Ingham if (entry_idx > 0) 2153bfa753fSJim Ingham { 2163bfa753fSJim Ingham // We require the the previous line entry and the current line entry come 2173bfa753fSJim Ingham // from the same file. 2183bfa753fSJim Ingham // The other requirement is that the previous line table entry be part of an 2193bfa753fSJim Ingham // inlined block, we don't want to step past cases where people have inlined 2203bfa753fSJim Ingham // some code fragment by using #include <source-fragment.c> directly. 2213bfa753fSJim Ingham LineEntry prev_line_entry; 2223bfa753fSJim Ingham if (line_table->GetLineEntryAtIndex(entry_idx - 1, prev_line_entry) 2233bfa753fSJim Ingham && prev_line_entry.file == line_entry.file) 2243bfa753fSJim Ingham { 2253bfa753fSJim Ingham SymbolContext prev_sc; 2263bfa753fSJim Ingham Address prev_address = prev_line_entry.range.GetBaseAddress(); 2273bfa753fSJim Ingham prev_address.CalculateSymbolContext(&prev_sc); 2283bfa753fSJim Ingham if (prev_sc.block) 2293bfa753fSJim Ingham { 2303bfa753fSJim Ingham Block *inlined_block = prev_sc.block->GetContainingInlinedBlock(); 2313bfa753fSJim Ingham if (inlined_block) 2323bfa753fSJim Ingham { 2333bfa753fSJim Ingham AddressRange inline_range; 2343bfa753fSJim Ingham inlined_block->GetRangeContainingAddress(prev_address, inline_range); 2353bfa753fSJim Ingham if (!inline_range.ContainsFileAddress(cur_address)) 2363bfa753fSJim Ingham { 2373bfa753fSJim Ingham 2383bfa753fSJim Ingham step_past_remaining_inline = true; 2393bfa753fSJim Ingham } 2403bfa753fSJim Ingham 2413bfa753fSJim Ingham } 2423bfa753fSJim Ingham } 2433bfa753fSJim Ingham } 2443bfa753fSJim Ingham } 2453bfa753fSJim Ingham 2463bfa753fSJim Ingham if (step_past_remaining_inline) 2473bfa753fSJim Ingham { 2483bfa753fSJim Ingham uint32_t look_ahead_step = 1; 2493bfa753fSJim Ingham while (line_table->GetLineEntryAtIndex(entry_idx + look_ahead_step, next_line_entry)) 2503bfa753fSJim Ingham { 2513bfa753fSJim Ingham // Make sure we haven't wandered out of the function we started from... 2523bfa753fSJim Ingham Address next_line_address = next_line_entry.range.GetBaseAddress(); 2533bfa753fSJim Ingham Function *next_line_function = next_line_address.CalculateSymbolContextFunction(); 2543bfa753fSJim Ingham if (next_line_function != m_addr_context.function) 2553bfa753fSJim Ingham break; 2563bfa753fSJim Ingham 2573bfa753fSJim Ingham if (next_line_entry.file == m_addr_context.line_entry.file) 2583bfa753fSJim Ingham { 2593bfa753fSJim Ingham const bool abort_other_plans = false; 2603bfa753fSJim Ingham const bool stop_other_threads = false; 2614d56e9c1SJim Ingham new_plan_sp = m_thread.QueueThreadPlanForRunToAddress(abort_other_plans, 2623bfa753fSJim Ingham next_line_address, 2633bfa753fSJim Ingham stop_other_threads); 2643bfa753fSJim Ingham break; 2653bfa753fSJim Ingham } 2663bfa753fSJim Ingham look_ahead_step++; 2673bfa753fSJim Ingham } 2683bfa753fSJim Ingham } 2693bfa753fSJim Ingham } 2703bfa753fSJim Ingham } 2713bfa753fSJim Ingham } 2723bfa753fSJim Ingham } 2733bfa753fSJim Ingham } 2743bfa753fSJim Ingham } 275564d8bc2SJim Ingham } 276564d8bc2SJim Ingham 277564d8bc2SJim Ingham // If we get to this point, we're not going to use a previously set "next branch" breakpoint, so delete it: 278564d8bc2SJim Ingham ClearNextBranchBreakpoint(); 27930fdc8d8SChris Lattner 2804d56e9c1SJim Ingham if (!new_plan_sp) 28130fdc8d8SChris Lattner m_no_more_plans = true; 28230fdc8d8SChris Lattner else 28330fdc8d8SChris Lattner m_no_more_plans = false; 28430fdc8d8SChris Lattner 2854d56e9c1SJim Ingham if (!new_plan_sp) 28630fdc8d8SChris Lattner { 28730fdc8d8SChris Lattner // For efficiencies sake, we know we're done here so we don't have to do this 28830fdc8d8SChris Lattner // calculation again in MischiefManaged. 28930fdc8d8SChris Lattner SetPlanComplete(); 29030fdc8d8SChris Lattner return true; 29130fdc8d8SChris Lattner } 29230fdc8d8SChris Lattner else 29330fdc8d8SChris Lattner return false; 29430fdc8d8SChris Lattner } 295fbbfe6ecSJim Ingham 296fbbfe6ecSJim Ingham bool 297221d51cfSJim Ingham ThreadPlanStepOverRange::DoPlanExplainsStop (Event *event_ptr) 298fbbfe6ecSJim Ingham { 299fbbfe6ecSJim Ingham // For crashes, breakpoint hits, signals, etc, let the base plan (or some plan above us) 300fbbfe6ecSJim Ingham // handle the stop. That way the user can see the stop, step around, and then when they 301fbbfe6ecSJim Ingham // are done, continue and have their step complete. The exception is if we've hit our 302fbbfe6ecSJim Ingham // "run to next branch" breakpoint. 303fbbfe6ecSJim Ingham // Note, unlike the step in range plan, we don't mark ourselves complete if we hit an 304fbbfe6ecSJim Ingham // unexplained breakpoint/crash. 305fbbfe6ecSJim Ingham 3065160ce5cSGreg Clayton Log *log(lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_STEP)); 30760c4118cSJim Ingham StopInfoSP stop_info_sp = GetPrivateStopInfo (); 308221d51cfSJim Ingham bool return_value; 309221d51cfSJim Ingham 310fbbfe6ecSJim Ingham if (stop_info_sp) 311fbbfe6ecSJim Ingham { 312fbbfe6ecSJim Ingham StopReason reason = stop_info_sp->GetStopReason(); 313fbbfe6ecSJim Ingham 314fbbfe6ecSJim Ingham switch (reason) 315fbbfe6ecSJim Ingham { 316513c6bb8SJim Ingham case eStopReasonTrace: 317221d51cfSJim Ingham return_value = true; 318513c6bb8SJim Ingham break; 319fbbfe6ecSJim Ingham case eStopReasonBreakpoint: 320fbbfe6ecSJim Ingham if (NextRangeBreakpointExplainsStop(stop_info_sp)) 321221d51cfSJim Ingham return_value = true; 322fbbfe6ecSJim Ingham else 323221d51cfSJim Ingham return_value = false; 324fbbfe6ecSJim Ingham break; 325fbbfe6ecSJim Ingham case eStopReasonWatchpoint: 326fbbfe6ecSJim Ingham case eStopReasonSignal: 327fbbfe6ecSJim Ingham case eStopReasonException: 32890ba8115SGreg Clayton case eStopReasonExec: 329f85defaeSAndrew Kaylor case eStopReasonThreadExiting: 330513c6bb8SJim Ingham default: 331fbbfe6ecSJim Ingham if (log) 332fbbfe6ecSJim Ingham log->PutCString ("ThreadPlanStepInRange got asked if it explains the stop for some reason other than step."); 333221d51cfSJim Ingham return_value = false; 334fbbfe6ecSJim Ingham break; 335fbbfe6ecSJim Ingham } 336fbbfe6ecSJim Ingham } 337221d51cfSJim Ingham else 338221d51cfSJim Ingham return_value = true; 339221d51cfSJim Ingham 340221d51cfSJim Ingham return return_value; 341fbbfe6ecSJim Ingham } 342513c6bb8SJim Ingham 343513c6bb8SJim Ingham bool 344221d51cfSJim Ingham ThreadPlanStepOverRange::DoWillResume (lldb::StateType resume_state, bool current_plan) 345513c6bb8SJim Ingham { 346513c6bb8SJim Ingham if (resume_state != eStateSuspended && m_first_resume) 347513c6bb8SJim Ingham { 348513c6bb8SJim Ingham m_first_resume = false; 349513c6bb8SJim Ingham if (resume_state == eStateStepping && current_plan) 350513c6bb8SJim Ingham { 351513c6bb8SJim Ingham // See if we are about to step over an inlined call in the middle of the inlined stack, if so figure 352513c6bb8SJim Ingham // out its extents and reset our range to step over that. 353513c6bb8SJim Ingham bool in_inlined_stack = m_thread.DecrementCurrentInlinedDepth(); 354513c6bb8SJim Ingham if (in_inlined_stack) 355513c6bb8SJim Ingham { 3565160ce5cSGreg Clayton Log *log(lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_STEP)); 357513c6bb8SJim Ingham if (log) 358221d51cfSJim Ingham log->Printf ("ThreadPlanStepInRange::DoWillResume: adjusting range to the frame at inlined depth %d.", 359513c6bb8SJim Ingham m_thread.GetCurrentInlinedDepth()); 360*b57e4a1bSJason Molenda StackFrameSP stack_sp = m_thread.GetStackFrameAtIndex(0); 361513c6bb8SJim Ingham if (stack_sp) 362513c6bb8SJim Ingham { 363513c6bb8SJim Ingham Block *frame_block = stack_sp->GetFrameBlock(); 364513c6bb8SJim Ingham lldb::addr_t curr_pc = m_thread.GetRegisterContext()->GetPC(); 365513c6bb8SJim Ingham AddressRange my_range; 366513c6bb8SJim Ingham if (frame_block->GetRangeContainingLoadAddress(curr_pc, m_thread.GetProcess()->GetTarget(), my_range)) 367513c6bb8SJim Ingham { 368513c6bb8SJim Ingham m_address_ranges.clear(); 369513c6bb8SJim Ingham m_address_ranges.push_back(my_range); 370513c6bb8SJim Ingham if (log) 371513c6bb8SJim Ingham { 372513c6bb8SJim Ingham StreamString s; 373513c6bb8SJim Ingham const InlineFunctionInfo *inline_info = frame_block->GetInlinedFunctionInfo(); 374513c6bb8SJim Ingham const char *name; 375513c6bb8SJim Ingham if (inline_info) 376513c6bb8SJim Ingham name = inline_info->GetName().AsCString(); 377513c6bb8SJim Ingham else 378513c6bb8SJim Ingham name = "<unknown-notinlined>"; 379513c6bb8SJim Ingham 380513c6bb8SJim Ingham s.Printf ("Stepping over inlined function \"%s\" in inlined stack: ", name); 381513c6bb8SJim Ingham DumpRanges(&s); 382513c6bb8SJim Ingham log->PutCString(s.GetData()); 383513c6bb8SJim Ingham } 384513c6bb8SJim Ingham } 385513c6bb8SJim Ingham 386513c6bb8SJim Ingham } 387513c6bb8SJim Ingham } 388513c6bb8SJim Ingham } 389513c6bb8SJim Ingham } 390513c6bb8SJim Ingham 391221d51cfSJim Ingham return true; 392513c6bb8SJim Ingham } 393