You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Leave setting bp_location11 in the global scope, so that it's accessible
to other procs.
Change-Id: I8928f01640d3a1e993649b2168b9eda0724ee1d9
Approved-By: Kevin Buettner <[email protected]>
"Temporary breakpoint.*at.* file .*$srcfile, line $bp_location1.*" \
449
-
"temporary breakpoint line number #1"
450
-
451
-
gdb_test "tbreak $bp_location6" "Temporary breakpoint.*at.* file .*$srcfile, line $bp_location6.*" "temporary breakpoint line number #2"
452
-
453
-
#
454
-
# test break at line number in file
455
-
#
456
-
gdb_test "tbreak $srcfile:$bp_location2" \
457
-
"Temporary breakpoint.*at.* file .*$srcfile, line $bp_location2.*" \
458
-
"temporary breakpoint line number in file #1"
459
-
460
426
set bp_location11 [gdb_get_line_number "set breakpoint 11 here"]
461
-
gdb_test "tbreak $srcfile:$bp_location11" "Temporary breakpoint.*at.* file .*$srcfile, line $bp_location11.*" "Temporary breakpoint line number in file #2"
462
427
463
-
#
464
-
# check to see what breakpoints are set (temporary this time)
"Temporary breakpoint.*at.* file .*$::srcfile, line $::bp_location1.*" \
441
+
"temporary breakpoint line number #1"
442
+
443
+
gdb_test "tbreak $::bp_location6" "Temporary breakpoint.*at.* file .*$::srcfile, line $::bp_location6.*" "temporary breakpoint line number #2"
444
+
445
+
# test break at line number in file
446
+
gdb_test "tbreak $::srcfile:$::bp_location2" \
447
+
"Temporary breakpoint.*at.* file .*$::srcfile, line $::bp_location2.*" \
448
+
"temporary breakpoint line number in file #1"
449
+
450
+
gdb_test "tbreak $::srcfile:$::bp_location11" "Temporary breakpoint.*at.* file .*$::srcfile, line $::bp_location11.*" "Temporary breakpoint line number in file #2"
451
+
452
+
# check to see what breakpoints are set (temporary this time)
0 commit comments