qemu-e2k/gdb-xml
Nathan Froyd 22555301ad gdb-xml: fix hacks in powerpc register numbering
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.

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
2009-07-12 23:42:05 +02:00
..
arm-core.xml Add GDB XML register description support. 2008-10-11 17:55:29 +00:00
arm-neon.xml The different VFP variants will never occur at the same time, and giving them 2009-03-04 12:18:15 +00:00
arm-vfp.xml Add GDB XML register description support. 2008-10-11 17:55:29 +00:00
arm-vfp3.xml The different VFP variants will never occur at the same time, and giving them 2009-03-04 12:18:15 +00:00
cf-core.xml Add GDB XML register description support. 2008-10-11 17:55:29 +00:00
cf-fp.xml Add GDB XML register description support. 2008-10-11 17:55:29 +00:00
power-altivec.xml target-ppc: Add XML files for PowerPC registers 2009-01-24 15:07:34 +00:00
power-core.xml gdb-xml: fix hacks in powerpc register numbering 2009-07-12 23:42:05 +02:00
power-fpu.xml gdb-xml: fix hacks in powerpc register numbering 2009-07-12 23:42:05 +02:00
power-spe.xml gdb-xml: fix hacks in powerpc register numbering 2009-07-12 23:42:05 +02:00
power64-core.xml gdb-xml: fix hacks in powerpc register numbering 2009-07-12 23:42:05 +02:00