From ae3df538d3e36ee9d51a47ce6eb8d9c5c08a1008 Mon Sep 17 00:00:00 2001 From: Evgeny Pavlov Date: Wed, 7 Dec 2016 19:48:30 +0300 Subject: [x86/Linux][SOS] Get correct stack pointer from DT_CONTEXT (#8500) --- src/ToolBox/SOS/lldbplugin/services.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ToolBox') diff --git a/src/ToolBox/SOS/lldbplugin/services.cpp b/src/ToolBox/SOS/lldbplugin/services.cpp index f6b42139c4..d2d2cf9f8e 100644 --- a/src/ToolBox/SOS/lldbplugin/services.cpp +++ b/src/ToolBox/SOS/lldbplugin/services.cpp @@ -167,6 +167,8 @@ LLDBServices::VirtualUnwind( #ifdef DBG_TARGET_AMD64 DWORD64 spToFind = dtcontext->Rsp; +#elif DBG_TARGET_X86 + DWORD spToFind = dtcontext->Esp; #elif DBG_TARGET_ARM DWORD spToFind = dtcontext->Sp; #endif -- cgit v1.2.3