[Qemu-devel] [PATCH] MIPS CP0 not usable in kernel mode?

2006-03-23 Thread Stefan Weil
Hello, according to MIPS32 4KE User's Manual, coprocessor CP0 is always usable when the processor is running in kernel mode. So in kernel mode, exception "CP0 is not usable" should not happen. I think the boolean expression which checks for the exception condition has to be inverted - see my pa

Re: [Qemu-devel] Debugging low level ARM with GDB

2006-03-23 Thread Daniel Jacobowitz
On Thu, Mar 23, 2006 at 05:10:07PM +0100, Dirk Behme wrote: > (gdb) s > Cannot find bounds of current function > (gdb) n > Cannot find bounds of current function Try using "si" and "ni" to step a single instruction. But make sure you can run it before you try to debug it. -- Daniel Jacobowitz C

Re: [Qemu-devel] Debugging low level ARM with GDB

2006-03-23 Thread Paul Brook
> If I load the binary version of image u-boot.bin into QEMU, > how does QEMU know to which start address the image was > linked to? Or do I have to load the ELF file? qemu assumes it's loading a raw binary kernel zImage. Currently it is loaded at 0x1. The linux kernel don't care where they a

[Qemu-devel] Debugging low level ARM with GDB

2006-03-23 Thread Dirk Behme
Hello, I'd like to debug low level ARM bootloader U-Boot using ARM port of QEMU. I use qemu-0.8.0-i386.tar.gz for this and start QEMU with qemu-system-arm -S -s -m 64 -net none -nographic -kernel u-boot.bin -monitor null -parallel null -serial null Waiting gdb connection on port 1234 (Note: