aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.trace/collection.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 83be424..5f48f55 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,10 @@
2010-04-01 Pedro Alves <pedro@codesourcery.com>
+ * gdb.trace/collection.c (local_test_func): Define a local struct,
+ and instanciate it.
+
+2010-04-01 Pedro Alves <pedro@codesourcery.com>
+
* gdb.trace/collection.exp (gdb_collect_args_test)
(gdb_collect_argarray_test): XFAIL the tests that assume the
argarray argument's elements are collected.
diff --git a/gdb/testsuite/gdb.trace/collection.c b/gdb/testsuite/gdb.trace/collection.c
index 3986332..6fb7133 100644
--- a/gdb/testsuite/gdb.trace/collection.c
+++ b/gdb/testsuite/gdb.trace/collection.c
@@ -93,6 +93,7 @@ int local_test_func () /* test collecting locals */
test_struct locst;
int locar[4];
int i;
+ struct localstruct {} locdefst;
locst.memberc = 15;
locst.memberi = 16;