Skip to content

Commit 51d736b

Browse files
committed
add tricore xml
1 parent eb87d3d commit 51d736b

File tree

3 files changed

+35
-0
lines changed

3 files changed

+35
-0
lines changed

gdb-xml/tricore-core.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
<reg name="pcxi" bitsize="32" type="data_ptr"/>
6060
<reg name="psw" bitsize="32" type="psw_flags"/>
6161
<reg name="pc" bitsize="32" type="code_ptr"/>
62+
<reg name="icr" bitsize="32" type="uint32"/>
6263
<reg name="syscon" bitsize="32" type="uint32"/>
6364
<reg name="cpu_id" bitsize="32" type="uint32"/>
6465
<reg name="core_id" bitsize="32" type="uint32"/>
@@ -69,4 +70,8 @@
6970
<reg name="fcx" bitsize="32" type="uint32"/>
7071
<reg name="lcx" bitsize="32" type="uint32"/>
7172
<reg name="compat" bitsize="32" type="uint32"/>
73+
<reg name="pmucon0" bitsize="32"/>
74+
<reg name="cycles" bitsize="32"/>
75+
<reg name="instr" bitsize="32"/>
76+
<reg name="time" bitsize="32"/>
7277
</feature>

gdb-xml/tricore-fpu.xml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?xml version="1.0"?>
2+
<!-- Copyright (C) 2007-2020 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+
<!DOCTYPE feature SYSTEM "gdb-target.dtd">
9+
<feature name="org.gnu.gdb.tricore.fpu">
10+
<reg name="FPU_TRAP_CON" bitsize="32" type="ieee_single" regnum="0"/>
11+
<reg name="FPU_TRAP_PC" bitsize="32" type="ieee_single"/>
12+
<reg name="FPU_TRAP_OPC" bitsize="32" type="ieee_single"/>
13+
<reg name="FPU_TRAP_SRC1" bitsize="32" type="ieee_single"/>
14+
<reg name="FPU_TRAP_SRC2" bitsize="32" type="ieee_single"/>
15+
<reg name="FPU_TRAP_SRC3" bitsize="32" type="ieee_single"/>
16+
<reg name="FPU_ID" bitsize="32" type="ieee_single"/>
17+
</feature>

gdb-xml/tricore.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?xml version="1.0"?>
2+
<!-- Copyright (C) 2013-2020 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+
<!DOCTYPE target SYSTEM "gdb-target.dtd">
9+
<target>
10+
<architecture>tricore</architecture>
11+
<xi:include href="tricore-core.xml"/>
12+
<xi:include href="tricore-fpu.xml"/>
13+
</target>

0 commit comments

Comments
 (0)