diff options
Diffstat (limited to 'gdb/testsuite/gdb.mi/mi-vla-c99.exp')
-rw-r--r-- | gdb/testsuite/gdb.mi/mi-vla-c99.exp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.mi/mi-vla-c99.exp b/gdb/testsuite/gdb.mi/mi-vla-c99.exp index 618e8ab..ee78700 100644 --- a/gdb/testsuite/gdb.mi/mi-vla-c99.exp +++ b/gdb/testsuite/gdb.mi/mi-vla-c99.exp @@ -40,9 +40,10 @@ mi_gdb_load ${binfile} set bp_lineno [gdb_get_line_number "vla-filled"] -mi_create_breakpoint "-t vla.c:$bp_lineno" 1 "del" "func" \ - ".*vla.c" $bp_lineno $hex \ - "insert breakpoint at line $bp_lineno after vla is filled" +mi_create_breakpoint "-t vla.c:$bp_lineno" \ + "insert breakpoint at line $bp_lineno after vla is filled" \ + -function func -line $bp_lineno -file ".*vla.c" -disp del + mi_run_cmd mi_expect_stop "breakpoint-hit" "func" "\{name=\"n\",value=\"5\"\}" \ ".*vla.c" "$bp_lineno" { "" "disp=\"del\"" } \ |