qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] gdb-xml: fix hacks in powerpc register numberin


From: Nathan Froyd
Subject: Re: [Qemu-devel] [PATCH] gdb-xml: fix hacks in powerpc register numbering
Date: Tue, 23 Jun 2009 08:35:05 -0700
User-agent: Mutt/1.5.13 (2006-08-11)

On Thu, Jun 04, 2009 at 07:02:28PM -0700, Nathan Froyd wrote:
> The powerpc xml files contained a hack--an empty, non-existent
> register--for getting the register numbers to line up for
> newer (XML-aware) and older (non-XML-aware) GDB.  While this hack worked
> in some cases, it didn't work in all cases, notably when the user used
> `finish' or `continue': GDB would attempt to read the non-existent
> register and QEMU would complain.
> 
> This patch fixes things up properly.  Instead of inserting a fake
> register, we explicitly declare the floating-point and SPE registers to
> start at 71.  This action accomplishes the same thing as the nasty hack,
> except that now GDB never tries to fetch the non-existant register 70.

Ping.  It would be nice to get this in prior to the stable 0.11.0
release.

-Nathan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]