mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-06 12:09:26 +08:00
89abbcc26d
Add Arm to the list of feature target description targets and generate the relevant C files. Add arm-m-profile-with-fpa.xml as the feature version of the exisiting arm-with-m-fpa-layout.xml. Add extra comments to the Makefile for readability. New files are not yet used. gdb/ChangeLog: * features/Makefile: Use feature target descriptions for Arm. * features/arm/arm-core.c: Generate new file. * features/arm/arm-fpa.c: Likewise. * features/arm/arm-m-profile-with-fpa.xml: Likewise. * features/arm/arm-m-profile.c: Likewise. * features/arm/arm-vfpv2.c: Likewise. * features/arm/arm-vfpv3.c: Likewise. * features/arm/xscale-iwmmxt.c: Likewise. * target-descriptions.c (maint_print_c_tdesc_cmd): Add Arm.
40 lines
1.4 KiB
XML
40 lines
1.4 KiB
XML
<?xml version="1.0"?>
|
|
<!-- Copyright (C) 2019 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.arm.m-profile">
|
|
<reg name="r0" bitsize="32"/>
|
|
<reg name="r1" bitsize="32"/>
|
|
<reg name="r2" bitsize="32"/>
|
|
<reg name="r3" bitsize="32"/>
|
|
<reg name="r4" bitsize="32"/>
|
|
<reg name="r5" bitsize="32"/>
|
|
<reg name="r6" bitsize="32"/>
|
|
<reg name="r7" bitsize="32"/>
|
|
<reg name="r8" bitsize="32"/>
|
|
<reg name="r9" bitsize="32"/>
|
|
<reg name="r10" bitsize="32"/>
|
|
<reg name="r11" bitsize="32"/>
|
|
<reg name="r12" bitsize="32"/>
|
|
<reg name="sp" bitsize="32" type="data_ptr"/>
|
|
<reg name="lr" bitsize="32"/>
|
|
<reg name="pc" bitsize="32" type="code_ptr"/>
|
|
|
|
<!-- Slack for unused FPA registers (f0-f7 + fps). -->
|
|
<reg name="" bitsize="96" type="arm_fpa_ext" regnum="16"/>
|
|
<reg name="" bitsize="96" type="arm_fpa_ext"/>
|
|
<reg name="" bitsize="96" type="arm_fpa_ext"/>
|
|
<reg name="" bitsize="96" type="arm_fpa_ext"/>
|
|
<reg name="" bitsize="96" type="arm_fpa_ext"/>
|
|
<reg name="" bitsize="96" type="arm_fpa_ext"/>
|
|
<reg name="" bitsize="96" type="arm_fpa_ext"/>
|
|
<reg name="" bitsize="96" type="arm_fpa_ext"/>
|
|
<reg name="" bitsize="32"/>
|
|
|
|
<reg name="xpsr" bitsize="32" regnum="25"/>
|
|
</feature>
|