summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.trace/collection.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.trace/collection.c')
-rw-r--r--gdb/testsuite/gdb.trace/collection.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.trace/collection.c b/gdb/testsuite/gdb.trace/collection.c
index 6fb71338a40..4a58170be1a 100644
--- a/gdb/testsuite/gdb.trace/collection.c
+++ b/gdb/testsuite/gdb.trace/collection.c
@@ -27,6 +27,14 @@ test_struct globalstruct;
test_struct *globalp;
int globalarr[16];
+struct global_pieces {
+ unsigned int a;
+ unsigned int b;
+} global_pieces =
+ {
+ 0x12345678, 0x87654321
+ };
+
/*
* Additional globals used in arithmetic tests
*/