[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH][Qemu-devel] Single stepping for PPC broken!
From: |
Marius Groeger |
Subject: |
Re: [PATCH][Qemu-devel] Single stepping for PPC broken! |
Date: |
Thu, 10 Jan 2008 14:57:50 +0100 (CET) |
On Wed, 9 Jan 2008, Marius Groeger wrote:
> On Wed, 9 Jan 2008, Marius Groeger wrote:
>
> > I'm having problems with qemu's (-M prep, -cpu 604) handling of the
> > MSR_SE bit. My gdbstub can successfully step along regular code, but
> > qemu chokes when stepping over a branch instruction like "blr".
> > (Needless to say, that same gdbstub works fine on real hardware). I
> > tried older versions of qemu and found that the code base 8 months ago
> > worked fine.
>
> I have now verified with booting a Linux image into qemu-system-ppc - same
> problem. When stepi'ing over the following sequence, the system chokes on a
> "bl" instruction:
The attached patch fixes the problem, but I have to admit I can't tell
for sure if this doesn't break other things (such as qemu's built-in
GDB server). Could some QEMU ppc expert please comment on this?
Thanks
Marius
--
Marius Groeger <address@hidden>
SYSGO AG Embedded and Real-Time Software
Voice: +49 6136 9948 0 FAX: +49 6136 9948 10
www.sysgo.com | www.elinos.com | www.osek.de | www.pikeos.com
ppc-singlestep.diff
Description: Text document