[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Debugging low level ARM with GDB
From: |
Paul Brook |
Subject: |
Re: [Qemu-devel] Debugging low level ARM with GDB |
Date: |
Fri, 24 Mar 2006 17:09:58 +0000 |
User-agent: |
KMail/1.9.1 |
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
Re: [Qemu-devel] Debugging low level ARM with GDB, Daniel Jacobowitz, 2006/03/23