winedbg: Implement be_arm_print_context.

This commit is contained in:
André Hentschel 2011-04-15 19:33:54 +02:00 committed by Alexandre Julliard
parent 5b345c9b60
commit becb336dc7

View file

@ -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)