From ec269755757a4577b5d7b513805a4a36dd9ffa49 Mon Sep 17 00:00:00 2001 From: Rene Gollent Date: Tue, 1 Jan 2013 16:12:50 -0500 Subject: [PATCH] Disable populating return values onto the variable list. - Still needs some work with respect to false positives in the most recent code, as well as the missing bits for PIC. --- src/apps/debugger/debug_info/DwarfImageDebugInfo.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/apps/debugger/debug_info/DwarfImageDebugInfo.cpp b/src/apps/debugger/debug_info/DwarfImageDebugInfo.cpp index 6d60b1b8e8..b96814da88 100644 --- a/src/apps/debugger/debug_info/DwarfImageDebugInfo.cpp +++ b/src/apps/debugger/debug_info/DwarfImageDebugInfo.cpp @@ -673,10 +673,14 @@ DwarfImageDebugInfo::CreateFrame(Image* image, instructionPointer, functionInstance->Address() - fRelocationDelta, subprogramEntry->Variables(), subprogramEntry->Blocks()); + // TODO: re-enable once PIC and false positive issues + // are properly dealt with +#if 0 if (returnFunctionAddress != 0) { _CreateReturnValue(returnFunctionAddress, image, frame, *stackFrameDebugInfo); } +#endif } _frame = frameReference.Detach();