xref: /netbsd-src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.xml/maint_print_struct.xml (revision 32d1c65c71fbdb65a012e8392a62a757dd6853e9)
1<?xml version="1.0"?>
2<!-- Copyright (C) 2010-2023 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<target>
10<feature name="test">
11
12  <struct id="two_fielded">
13       <field name="field1" type="data_ptr"/>
14       <field name="field2" type="data_ptr"/>
15  </struct>
16
17  <struct id="bitfield" size="8">
18    <field name="field0" start="0" end="0"/>
19    <field name="field1" start="24" end="63"/>
20    <field name="field2" start="16" end="24"/>
21  </struct>
22
23  <reg name="bad_reg1" bitsize="128" type="two_fielded"/>
24  <reg name="bad_reg2" bitsize="64"  type="bitfield"/>
25</feature>
26</target>
27
28