diff options
Diffstat (limited to 'gdb/testsuite/gdb.mi/mi2-var-child.exp')
-rw-r--r-- | gdb/testsuite/gdb.mi/mi2-var-child.exp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.mi/mi2-var-child.exp b/gdb/testsuite/gdb.mi/mi2-var-child.exp index 91ada0f..450f508 100644 --- a/gdb/testsuite/gdb.mi/mi2-var-child.exp +++ b/gdb/testsuite/gdb.mi/mi2-var-child.exp @@ -50,6 +50,10 @@ mi_continue_to_line $line_dlt_first_real "step to real start of do_children_test # # ##### ##### +# Step to "weird = &struct_declarations;" +set line_dct_weird [gdb_get_line_number "weird = &struct_declarations;"] +mi_next_to do_children_tests {} {.*var-cmd.c} \ + $line_dct_weird "step to line \$line_dct_weird" # Test: c_variable-4.2 # Desc: create variable "struct_declarations" |