Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Commit

Permalink
[x86/Linux][SOS] Get correct stack pointer from DT_CONTEXT (#8500)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucenticus authored and jkotas committed Dec 7, 2016
1 parent aa6cbc6 commit ae3df53
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ToolBox/SOS/lldbplugin/services.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ae3df53

Please sign in to comment.