Index: gdb/testsuite/gdb.xml/maint_print_struct.xml |
diff --git a/gdb/testsuite/gdb.xml/maint_print_struct.xml b/gdb/testsuite/gdb.xml/maint_print_struct.xml |
new file mode 100644 |
index 0000000000000000000000000000000000000000..deac30060ab05f5783d40b92e51bdff24a5f689e |
--- /dev/null |
+++ b/gdb/testsuite/gdb.xml/maint_print_struct.xml |
@@ -0,0 +1,27 @@ |
+<?xml version="1.0"?> |
+<!-- Copyright (C) 2010-2013 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"> |
+<target> |
+<feature name="test"> |
+ |
+ <struct id="two_fielded"> |
+ <field name="field1" type="data_ptr"/> |
+ <field name="field2" type="data_ptr"/> |
+ </struct> |
+ |
+ <struct id="bitfield" size="8"> |
+ <field name="field0" start="0" end="0"/> |
+ <field name="field1" start="24" end="63"/> |
+ <field name="field2" start="16" end="24"/> |
+ </struct> |
+ |
+ <reg name="bad_reg1" bitsize="128" type="two_fielded"/> |
+ <reg name="bad_reg2" bitsize="64" type="bitfield"/> |
+</feature> |
+</target> |
+ |