diff options
author | Nick Roberts <nickrob@snap.net.nz> | 2005-07-27 02:21:16 +0000 |
---|---|---|
committer | Nick Roberts <nickrob@snap.net.nz> | 2005-07-27 02:21:16 +0000 |
commit | d8d83e9b52d6dfd4c6dc8214dd875fab7a1600e4 (patch) | |
tree | 3aa76255e77c3b1c2179f572eda249b2ffca0e19 /gdb/testsuite/gdb.mi/basics.c | |
parent | 4e660f07292d8dece0cc5fe1e2b0304870380d08 (diff) | |
download | gdb-d8d83e9b52d6dfd4c6dc8214dd875fab7a1600e4.zip gdb-d8d83e9b52d6dfd4c6dc8214dd875fab7a1600e4.tar.gz gdb-d8d83e9b52d6dfd4c6dc8214dd875fab7a1600e4.tar.bz2 |
* gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
(do_children_tests): Assign values to the extra elements.
* gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
them for tests for "-var-update --no-values" and
"-var-update --all-values".
Add test for "-var-list-children --simple-values".
* gdb.mi/basics.c (callee4): Add integer array D[3]...
* gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
"-stack-list-locals --simple-values" Improve doc strings and
comments.
Diffstat (limited to 'gdb/testsuite/gdb.mi/basics.c')
-rw-r--r-- | gdb/testsuite/gdb.mi/basics.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.mi/basics.c b/gdb/testsuite/gdb.mi/basics.c index 0e3c1d8..eab044b 100644 --- a/gdb/testsuite/gdb.mi/basics.c +++ b/gdb/testsuite/gdb.mi/basics.c @@ -1,4 +1,4 @@ -/* Copyright 1999, 2000, 2004 +/* Copyright 1999, 2000, 2004, 2005 Free Software Foundation, Inc. This file is part of GDB. @@ -30,6 +30,7 @@ int callee4 (void) int A=1; int B=2; int C; + int D[3] = {0, 1 ,2}; C = A + B; return 0; |