Commit becb336d authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

winedbg: Implement be_arm_print_context.

parent 5b345c9b
......@@ -52,7 +52,17 @@ static void be_arm_single_step(CONTEXT* ctx, unsigned enable)
static void be_arm_print_context(HANDLE hThread, const CONTEXT* ctx, int all_regs)
{
dbg_printf("Context printing for arm not done yet\n");
dbg_printf("Register dump:\n");
dbg_printf(" Pc:%04x Sp:%04x Lr:%04x Cpsr:%04x\n",
ctx->Pc, ctx->Sp, ctx->Lr, ctx->Cpsr);
dbg_printf(" r0:%04x r1:%04x r2:%04x r3:%04x\n",
ctx->R0, ctx->R1, ctx->R2, ctx->R3);
dbg_printf(" r4:%04x r5:%04x r6:%04x r7:%04x r8:%04x\n",
ctx->R4, ctx->R5, ctx->R6, ctx->R7, ctx->R8 );
dbg_printf(" r9:%04x r10:%04x Fp:%04x Ip:%04x\n",
ctx->R9, ctx->R10, ctx->Fp, ctx->Ip );
if (all_regs) dbg_printf( "Floating point ARM dump not implemented\n" );
}
static void be_arm_print_segment_info(HANDLE hThread, const CONTEXT* ctx)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment