3f7b46f2da
gdb/ChangeLog: 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com> PR tdep/20936 Provide and use sparc32 and sparc64 target description XML files. * features/sparc/sparc32-cp0.xml, features/sparc/sparc32-cpu.xml, features/sparc/sparc32-fpu.xml: New files for sparc 32-bit. * features/sparc/sparc64-cp0.xml, features/sparc/sparc64-cpu.xml, features/sparc/sparc64-fpu.xml: New files for sparc 64-bit. * features/sparc/sparc32-solaris.xml: New file. * features/sparc/sparc64-solaris.xml: New file. * features/sparc/sparc32-solaris.c: Generated. * features/sparc/sparc64-solaris.c: Generated. * sparc-tdep.h: Account for differences in target descriptions. * sparc-tdep.c (sparc32_register_name): Use target provided registers. (sparc32_register_type): Use target provided registers. (validate_tdesc_registers): New function. (sparc32_gdbarch_init): Use tdesc_has_registers. Set pseudoregister functions. * sparc64-tdep.c (sparc64_register_name): Use target provided registers. (sparc64_register_type): Use target provided registers. (sparc64_init_abi): Set pseudoregister functions. gdb/doc/ChangeLog: 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com> PR tdep/20936 * gdb.texinfo: (Standard Target Features): Document SPARC features. (Sparc Features): New node. gdb/testsuite/ChangeLog: 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com> PR tdep/20936 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
20 lines
845 B
XML
20 lines
845 B
XML
<?xml version="1.0"?>
|
|
<!-- Copyright (C) 2013-2017 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.sparc.cp0">
|
|
<reg name="y" bitsize="32" type="uint32" regnum="64"/>
|
|
<reg name="psr" bitsize="32" type="uint32" regnum="65"/>
|
|
<reg name="wim" bitsize="32" type="uint32" regnum="66"/>
|
|
<reg name="tbr" bitsize="32" type="uint32" regnum="67"/>
|
|
<reg name="pc" bitsize="32" type="code_ptr" regnum="68"/>
|
|
<reg name="npc" bitsize="32" type="code_ptr" regnum="69"/>
|
|
<reg name="fsr" bitsize="32" type="uint32" regnum="70"/>
|
|
<reg name="csr" bitsize="32" type="uint32" regnum="71"/>
|
|
</feature>
|
|
|