On Friday 24 March 2006 16:51, Dirk Behme wrote:
> Paul Brook wrote:
> >>But PC is still wrong. Who sets the PC to KERNEL_LOAD_ADDR
> >>(0x10000)?
> >
> > What makes you think ti's wrong? There's a small bootloader built into
> > qemu.
>
> Uups. Then it seems that I start things the wrong way. I
> start QEMU with -S -s, then I attach GDB, and GDB
> "complains" that PC is at 0x0 (and not 0x10000). How do I
> have to invoke things in the correct way (and that this
> bootloader is used)  so that system is at 0x10000 if I
> attach GDB and can start with si debugging from there?

Sounds like it's working exactly as designed. You'll notice that the code at 
address zero eventually jumps to 0x10000.

Paul


_______________________________________________
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel

Reply via email to