[Qemu-devel] Re: Single stepping MIPS in GDB

2006-03-29 Thread Dirk Behme
Hi, answering to myself again ;) Now, I found where the PC is wrongly set to 0x0: In translate-all.c, end of function cpu_restore_state() (lines with '+' are debug output added): #elif defined(TARGET_MIPS) +printf("PC before: 0x%08x, j: %d, OPC_BUF_SIZE: %d\n", env->PC, j, OPC_BUF_SIZE);

[Qemu-devel] Re: Single stepping MIPS in GDB

2006-03-29 Thread Dirk Behme
Hi, if nobody has an idea regarding this, any hint where to search or how to debug this the best way? What confuses me is that qemu.log correctly shows pc=0x80010400 but qemu monitor register info and GDB show pc=0. Thanks Dirk Dirk Behme wrote: Hi, now, after ARM, I try to debug some l