These arguments don't actually do anything, remove them.
Change-Id: Ifd6a18d3effc521ba410fd40280a197d37661b12
Reviewed-By: Tankut Baris Aktemur <TankutBaris.Aktemur@amd.com>
return
}
-gdb_breakpoint "[gdb_get_line_number "ldxr"]" \
- "Breakpoint $decimal at $hex" \
- "Set the breakpoint at the start of the sequence"
+gdb_breakpoint "[gdb_get_line_number "ldxr"]"
gdb_test "continue" "Continuing.*Breakpoint $decimal.*" \
"Continue until breakpoint"
gdb_test_no_output "set displaced-stepping $displaced"
set bp1 [gdb_get_line_number "lwarx"]
- gdb_breakpoint "$bp1" "Breakpoint $decimal at $hex" \
- "set the breakpoint at the start of the lwarx/stwcx sequence"
+ gdb_breakpoint "$bp1"
set bp2 [gdb_get_line_number "ldarx"]
- gdb_breakpoint "$bp2" "Breakpoint $decimal at $hex" \
- "set the breakpoint at the start of the ldarx/stdcx sequence"
+ gdb_breakpoint "$bp2"
gdb_test continue "Continuing.*Breakpoint $decimal.*" \
"continue until lwarx/stwcx start breakpoint"
gdb_test_no_output "set displaced-stepping $displaced"
- gdb_breakpoint "test_atomic_sequences" "Breakpoint $decimal at $hex" \
- "set the breakpoint at the start of the test function"
+ gdb_breakpoint "test_atomic_sequences"
gdb_test_multiple "continue" "Continue until lbarx/stbcx start breakpoint" {
-re "$inferior_exited_re with code 01.\[\r\n\]+$gdb_prompt $" {
}
set bp1 [gdb_get_line_number "lbarx" "$srcfile2"]
- gdb_breakpoint "$bp1" "Breakpoint $decimal at $hex" \
- "set the breakpoint at the start of the lbarx/stbcx sequence"
+ gdb_breakpoint "$bp1"
set bp2 [gdb_get_line_number "lharx" "$srcfile2"]
- gdb_breakpoint "$bp2" "Breakpoint $decimal at $hex" \
- "set the breakpoint at the start of the lharx/sthcx sequence"
+ gdb_breakpoint "$bp2"
set bp3 [gdb_get_line_number "lqarx" "$srcfile2"]
- gdb_breakpoint "$bp3" "Breakpoint $decimal at $hex" \
- "set the breakpoint at the start of the lqarx/stqcx sequence"
+ gdb_breakpoint "$bp3"
gdb_test continue "Continuing.*Breakpoint $decimal.*" \
"continue until lbarx/stbcx start breakpoint"
gdb_test "attach $inferior_pid" "Attaching to.*" attach
set line [gdb_get_line_number "TAG: BREAK HERE" $::testfile.c]
- gdb_breakpoint "${::srcfile}:$line" "break at to known line"
+ gdb_breakpoint "${::srcfile}:$line"
gdb_continue_to_breakpoint "continue to known line"
# Get the important info.
}
gdb_test_no_output "set displaced-stepping off"
-gdb_breakpoint "main" "breakpoint at main"
+gdb_breakpoint "main"
gdb_test "continue" " stop 0 .*" "continue to main"
delete_breakpoints
return
}
-gdb_breakpoint [gdb_get_line_number "start_again"] "Breakpoint $decimal at $hex" "start_again"
+gdb_breakpoint [gdb_get_line_number "start_again"]
set sizes {1 2 4 8}
array set alignedend {1 1 2 2 3 4 4 4 5 8 6 8 7 8 8 8}
# Set a breakpoint.
set bp_src_string "${function}_return"
set bp_loc [gdb_get_line_number $bp_src_string]
- gdb_breakpoint $bp_loc \
- "Breakpoint $::decimal at $::hex" "$bp_src_string"
+ gdb_breakpoint $bp_loc
# Set a hardware watchpoint.
set watch_index [expr {$offset + $index}]
gdb_test_no_output "set follow-fork-mode child" "1, set follow-fork-mode child"
gdb_test "catch fork" "Catchpoint \[0-9\]* \\(fork\\)" "1, insert fork catchpoint"
-gdb_breakpoint "start" "" "1, set breakpoint at start"
+gdb_breakpoint "start"
gdb_test "continue" "Catchpoint.*" "1, get to the fork event"
# Switch back to thread 1, and continue.
gdb_test "thread 1" "Switching.*" "switch back to thread 1"
- gdb_breakpoint "sigusr1_handler" "set break at sigusr1_handler"
+ gdb_breakpoint "sigusr1_handler"
set msg "continue to sigusr1_handler"
gdb_test_multiple "continue" $msg {
# Create a thread-specific breakpoint. This will never actually be hit; we
# don't care, we just want to see GDB auto-delete this breakpoint.
-gdb_breakpoint "main thread $worker_thread" \
- "create a thread-specific breakpoint"
+gdb_breakpoint "main thread $worker_thread"
set bpnum [get_integer_valueof "\$bpnum" "INVALID" \
"get number for thread-specific breakpoint"]