summaryrefslogtreecommitdiff
path: root/gdb/features/arm/arm-with-m-fpa-layout.xml
blob: 50ed53f8f7b3c42a2fff5f11abe3c8bcbabb5648 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<?xml version="1.0"?>
<!-- Copyright (C) 2007-2018 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.  -->

<!-- A target description for an M-profile device, for stubs that
     transfer registers using the historical fpa layout.  -->

<!DOCTYPE target SYSTEM "gdb-target.dtd">
<target>
<architecture>arm</architecture>
<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).
       See arm-fpa.xml.  -->
  <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>
</target>