mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-25 12:40:08 +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>
46 lines
1.5 KiB
XML
46 lines
1.5 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.spe">
|
|
<reg name="ev0h" bitsize="32" regnum="71"/>
|
|
<reg name="ev1h" bitsize="32"/>
|
|
<reg name="ev2h" bitsize="32"/>
|
|
<reg name="ev3h" bitsize="32"/>
|
|
<reg name="ev4h" bitsize="32"/>
|
|
<reg name="ev5h" bitsize="32"/>
|
|
<reg name="ev6h" bitsize="32"/>
|
|
<reg name="ev7h" bitsize="32"/>
|
|
<reg name="ev8h" bitsize="32"/>
|
|
<reg name="ev9h" bitsize="32"/>
|
|
<reg name="ev10h" bitsize="32"/>
|
|
<reg name="ev11h" bitsize="32"/>
|
|
<reg name="ev12h" bitsize="32"/>
|
|
<reg name="ev13h" bitsize="32"/>
|
|
<reg name="ev14h" bitsize="32"/>
|
|
<reg name="ev15h" bitsize="32"/>
|
|
<reg name="ev16h" bitsize="32"/>
|
|
<reg name="ev17h" bitsize="32"/>
|
|
<reg name="ev18h" bitsize="32"/>
|
|
<reg name="ev19h" bitsize="32"/>
|
|
<reg name="ev20h" bitsize="32"/>
|
|
<reg name="ev21h" bitsize="32"/>
|
|
<reg name="ev22h" bitsize="32"/>
|
|
<reg name="ev23h" bitsize="32"/>
|
|
<reg name="ev24h" bitsize="32"/>
|
|
<reg name="ev25h" bitsize="32"/>
|
|
<reg name="ev26h" bitsize="32"/>
|
|
<reg name="ev27h" bitsize="32"/>
|
|
<reg name="ev28h" bitsize="32"/>
|
|
<reg name="ev29h" bitsize="32"/>
|
|
<reg name="ev30h" bitsize="32"/>
|
|
<reg name="ev31h" bitsize="32"/>
|
|
|
|
<reg name="acc" bitsize="64"/>
|
|
<reg name="spefscr" bitsize="32"/>
|
|
</feature>
|