[PATCH 00/10] First step for supporting inlined frames in winedbg & dbghelp
Eric Pouech
eric.pouech at gmail.com
Tue Oct 26 04:45:07 CDT 2021
The following series implements:
- local scope management in dbghelp (instead of SymSetContext)
- basic implementation of some inline context oriented APIs of dbghelp
(when the inline context doesn't represent an inlined frame)
- let winedbg use all those APIs instead of the (old = non inline context
oriented APIs)
A+
---
Eric Pouech (10):
dbghelp: let StackWalkEx() succeed even when inline mode is requested
dbghelp: implement SymFromInlineContext() when context isn't in inline mode
dbghelp: implement SymGetLineFromInlineContext*() when context isn't in inline mode
dbghelp: add local scope information in struct process
dbghelp: implement SymSetScopeFromAddr() and SymSetScopeFromIndex()
dbghelp: rewrite SymSetContext() on top of SymSetScopeFromAddr()
dbghelp: implement SymSetScopeFromInlineContext() when context isn't inlined
programs/winedbg: add a pair of helpers for accessing frames' internal info
programs/winedbg: use SymSetScopeFromAddr() instead of SymSetContext()
programs/winedbg: use inline contexts oriented APIs for stack backtrace
dlls/dbghelp/dbghelp.c | 60 ++++++++++------
dlls/dbghelp/dbghelp_private.h | 23 +++++++
dlls/dbghelp/dwarf.c | 2 +-
dlls/dbghelp/module.c | 10 ++-
dlls/dbghelp/stack.c | 10 ++-
dlls/dbghelp/symbol.c | 68 +++++++++++++-----
programs/winedbg/debugger.h | 15 +++-
programs/winedbg/stack.c | 121 +++++++++++++++------------------
programs/winedbg/symbol.c | 23 ++++---
9 files changed, 212 insertions(+), 120 deletions(-)
More information about the wine-devel
mailing list