gdb
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / label.exp
index de6aaf79df61c57fea4bb8d5abbdbff2152f1371..be23738f6e9d7d307a829e86216c5613ec2c7cb8 100644 (file)
@@ -46,7 +46,7 @@ gdb_test "break here" \
   "Breakpoint.*at.*" \
   "breakpoint here"
 
-gdb_test "break there" \
+gdb_test "break main:there" \
   "Breakpoint.*at.*" \
   "breakpoint there"
 
@@ -57,3 +57,9 @@ gdb_test "cont" \
 gdb_test "cont" \
   "Breakpoint 2,.*" \
   "continue to 'here'"
+
+rerun_to_main
+
+gdb_test "cont" \
+  "Breakpoint 3,.*" \
+  "continue to 'there' after re-run"
This page took 0.040415 seconds and 4 git commands to generate.