Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(558)

Unified Diff: gdb/testsuite/gdb.xml/maint_print_struct.xml

Issue 124383005: GDB 7.6.50 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@upstream
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gdb/testsuite/gdb.xml/maint_print_struct.exp ('k') | gdb/testsuite/gdb.xml/tdesc-arch.exp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
+
« no previous file with comments | « gdb/testsuite/gdb.xml/maint_print_struct.exp ('k') | gdb/testsuite/gdb.xml/tdesc-arch.exp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698