then we might as well.
(do_loops): Use it.  Add breakpoint comments.
(do_vars): Add a breakpoint comment.
fail "$test (prints unexpected address)"
/* Need some code here to set breaks on.
gdb_test "set can-use-hw-watchpoints 0" "" ""
-gdb_test "break 14" ".*Breakpoint 2.*"           "break  do_loops"
+gdb_test "break $bp_location1" ".*Breakpoint 2.*"           "break  do_loops"
gdb_test "cont"     ".*Breakpoint 2, do_loops.*" "get to do_loops"
gdb_test "watch sum"    ".*\[Ww\]atchpoint 3: sum.*" "set watch"
-gdb_test "break 19"     ".*Breakpoint 4.*" "break 19"
+gdb_test "break $bp_location2"     ".*Breakpoint 4.*" "break loop end"
-gdb_test "tbreak 37" ".*breakpoint 5 a.*"
+gdb_test "step"      ".*do_vars.*.*i = 9.*"
+gdb_test "tbreak $bp_location3" ".*breakpoint 5 a.*" "tbreak in do_vars"