| 1 | <?xml version="1.0"?> |
| 2 | <!-- Copyright (C) 2007-2016 Free Software Foundation, Inc. |
| 3 | |
| 4 | Copying and distribution of this file, with or without modification, |
| 5 | are permitted in any medium without royalty provided the copyright |
| 6 | notice and this notice are preserved. --> |
| 7 | |
| 8 | <!-- A target description for an M-profile device, for stubs that |
| 9 | transfer registers using the historical fpa layout. --> |
| 10 | |
| 11 | <!DOCTYPE target SYSTEM "gdb-target.dtd"> |
| 12 | <target> |
| 13 | <architecture>arm</architecture> |
| 14 | <feature name="org.gnu.gdb.arm.m-profile"> |
| 15 | <reg name="r0" bitsize="32"/> |
| 16 | <reg name="r1" bitsize="32"/> |
| 17 | <reg name="r2" bitsize="32"/> |
| 18 | <reg name="r3" bitsize="32"/> |
| 19 | <reg name="r4" bitsize="32"/> |
| 20 | <reg name="r5" bitsize="32"/> |
| 21 | <reg name="r6" bitsize="32"/> |
| 22 | <reg name="r7" bitsize="32"/> |
| 23 | <reg name="r8" bitsize="32"/> |
| 24 | <reg name="r9" bitsize="32"/> |
| 25 | <reg name="r10" bitsize="32"/> |
| 26 | <reg name="r11" bitsize="32"/> |
| 27 | <reg name="r12" bitsize="32"/> |
| 28 | <reg name="sp" bitsize="32" type="data_ptr"/> |
| 29 | <reg name="lr" bitsize="32"/> |
| 30 | <reg name="pc" bitsize="32" type="code_ptr"/> |
| 31 | |
| 32 | <!-- Slack for unused FPA registers (f0-f7 + fps). |
| 33 | See arm-fpa.xml. --> |
| 34 | <reg name="" bitsize="96" type="arm_fpa_ext" regnum="16"/> |
| 35 | <reg name="" bitsize="96" type="arm_fpa_ext"/> |
| 36 | <reg name="" bitsize="96" type="arm_fpa_ext"/> |
| 37 | <reg name="" bitsize="96" type="arm_fpa_ext"/> |
| 38 | <reg name="" bitsize="96" type="arm_fpa_ext"/> |
| 39 | <reg name="" bitsize="96" type="arm_fpa_ext"/> |
| 40 | <reg name="" bitsize="96" type="arm_fpa_ext"/> |
| 41 | <reg name="" bitsize="96" type="arm_fpa_ext"/> |
| 42 | <reg name="" bitsize="32"/> |
| 43 | |
| 44 | <reg name="xpsr" bitsize="32" regnum="25"/> |
| 45 | </feature> |
| 46 | </target> |