"Breakpoint.*at.*" \
"breakpoint here"
-gdb_test "break there" \
+gdb_test "break main:there" \
"Breakpoint.*at.*" \
"breakpoint there"
gdb_test "cont" \
"Breakpoint 2,.*" \
"continue to 'here'"
+
+rerun_to_main
+
+gdb_test "cont" \
+ "Breakpoint 3,.*" \
+ "continue to 'there' after re-run"