mirror of
https://github.com/xemu-project/xemu.git
synced 2024-12-24 04:46:05 +00:00
22555301ad
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>
45 lines
2.0 KiB
XML
45 lines
2.0 KiB
XML
<?xml version="1.0"?>
|
|
<!-- Copyright (C) 2007, 2008 Free Software Foundation, Inc.
|
|
|
|
Copying and distribution of this file, with or without modification,
|
|
are permitted in any medium without royalty provided the copyright
|
|
notice and this notice are preserved. -->
|
|
|
|
<!DOCTYPE feature SYSTEM "gdb-target.dtd">
|
|
<feature name="org.gnu.gdb.power.fpu">
|
|
<reg name="f0" bitsize="64" type="ieee_double" regnum="71"/>
|
|
<reg name="f1" bitsize="64" type="ieee_double"/>
|
|
<reg name="f2" bitsize="64" type="ieee_double"/>
|
|
<reg name="f3" bitsize="64" type="ieee_double"/>
|
|
<reg name="f4" bitsize="64" type="ieee_double"/>
|
|
<reg name="f5" bitsize="64" type="ieee_double"/>
|
|
<reg name="f6" bitsize="64" type="ieee_double"/>
|
|
<reg name="f7" bitsize="64" type="ieee_double"/>
|
|
<reg name="f8" bitsize="64" type="ieee_double"/>
|
|
<reg name="f9" bitsize="64" type="ieee_double"/>
|
|
<reg name="f10" bitsize="64" type="ieee_double"/>
|
|
<reg name="f11" bitsize="64" type="ieee_double"/>
|
|
<reg name="f12" bitsize="64" type="ieee_double"/>
|
|
<reg name="f13" bitsize="64" type="ieee_double"/>
|
|
<reg name="f14" bitsize="64" type="ieee_double"/>
|
|
<reg name="f15" bitsize="64" type="ieee_double"/>
|
|
<reg name="f16" bitsize="64" type="ieee_double"/>
|
|
<reg name="f17" bitsize="64" type="ieee_double"/>
|
|
<reg name="f18" bitsize="64" type="ieee_double"/>
|
|
<reg name="f19" bitsize="64" type="ieee_double"/>
|
|
<reg name="f20" bitsize="64" type="ieee_double"/>
|
|
<reg name="f21" bitsize="64" type="ieee_double"/>
|
|
<reg name="f22" bitsize="64" type="ieee_double"/>
|
|
<reg name="f23" bitsize="64" type="ieee_double"/>
|
|
<reg name="f24" bitsize="64" type="ieee_double"/>
|
|
<reg name="f25" bitsize="64" type="ieee_double"/>
|
|
<reg name="f26" bitsize="64" type="ieee_double"/>
|
|
<reg name="f27" bitsize="64" type="ieee_double"/>
|
|
<reg name="f28" bitsize="64" type="ieee_double"/>
|
|
<reg name="f29" bitsize="64" type="ieee_double"/>
|
|
<reg name="f30" bitsize="64" type="ieee_double"/>
|
|
<reg name="f31" bitsize="64" type="ieee_double"/>
|
|
|
|
<reg name="fpscr" bitsize="32" group="float"/>
|
|
</feature>
|