=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: dbghelp: Add arm_fetch_minidump_thread implementation.
Alexandre Julliard
julliard at winehq.org
Fri Mar 9 12:34:19 CST 2012
Module: wine
Branch: master
Commit: 138cb84be0f693d52dd6cb6ef638c0a81747682a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=138cb84be0f693d52dd6cb6ef638c0a81747682a
Author: André Hentschel <nerv at dawncrow.de>
Date: Thu Mar 8 22:27:07 2012 +0100
dbghelp: Add arm_fetch_minidump_thread implementation.
---
dlls/dbghelp/cpu_arm.c | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/dlls/dbghelp/cpu_arm.c b/dlls/dbghelp/cpu_arm.c
index 2712db4..eeb8984 100644
--- a/dlls/dbghelp/cpu_arm.c
+++ b/dlls/dbghelp/cpu_arm.c
@@ -224,8 +224,16 @@ static const char* arm_fetch_regname(unsigned regno)
static BOOL arm_fetch_minidump_thread(struct dump_context* dc, unsigned index, unsigned flags, const CONTEXT* ctx)
{
- FIXME("NIY\n");
- return FALSE;
+ if (ctx->ContextFlags && (flags & ThreadWriteInstructionWindow))
+ {
+ /* FIXME: crop values across module boundaries, */
+#ifdef __arm__
+ ULONG base = ctx->Pc <= 0x80 ? 0 : ctx->Pc - 0x80;
+ minidump_add_memory_block(dc, base, ctx->Pc + 0x80 - base, 0);
+#endif
+ }
+
+ return TRUE;
}
static BOOL arm_fetch_minidump_module(struct dump_context* dc, unsigned index, unsigned flags)
More information about the wine-cvs
mailing list