gdb: fix typo "breapoint" -> "breakpoint"

gdb/ChangeLog:
2020-08-20  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* infrun.c (process_event_stop_test): Fix typo "breapoint".

gdb/testsuite/ChangeLog:
2020-08-20  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* gdb.base/print-file-var.exp: Fix typo "breapoint".
	* gdb.trace/strace.exp: Ditto.
This commit is contained in:
Tankut Baris Aktemur
2020-08-20 14:23:34 +02:00
parent 44466e45c5
commit 33bf4c5c10
5 changed files with 13 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2020-08-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
* infrun.c (process_event_stop_test): Fix typo "breapoint".
2020-08-19 Alok Kumar Sharma <AlokKumar.Sharma@amd.com> 2020-08-19 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
* amd64-tdep.c (amd64_skip_prologue): Using symbol table * amd64-tdep.c (amd64_skip_prologue): Using symbol table

View File

@ -6670,7 +6670,7 @@ process_event_stop_test (struct execution_control_state *ecs)
fprintf_unfiltered (gdb_stdlog, "infrun: BPSTAT_WHAT_STOP_NOISY\n"); fprintf_unfiltered (gdb_stdlog, "infrun: BPSTAT_WHAT_STOP_NOISY\n");
stop_print_frame = 1; stop_print_frame = 1;
/* Assume the thread stopped for a breapoint. We'll still check /* Assume the thread stopped for a breakpoint. We'll still check
whether a/the breakpoint is there when the thread is next whether a/the breakpoint is there when the thread is next
resumed. */ resumed. */
ecs->event_thread->stepping_over_breakpoint = 1; ecs->event_thread->stepping_over_breakpoint = 1;
@ -6683,7 +6683,7 @@ process_event_stop_test (struct execution_control_state *ecs)
fprintf_unfiltered (gdb_stdlog, "infrun: BPSTAT_WHAT_STOP_SILENT\n"); fprintf_unfiltered (gdb_stdlog, "infrun: BPSTAT_WHAT_STOP_SILENT\n");
stop_print_frame = 0; stop_print_frame = 0;
/* Assume the thread stopped for a breapoint. We'll still check /* Assume the thread stopped for a breakpoint. We'll still check
whether a/the breakpoint is there when the thread is next whether a/the breakpoint is there when the thread is next
resumed. */ resumed. */
ecs->event_thread->stepping_over_breakpoint = 1; ecs->event_thread->stepping_over_breakpoint = 1;

View File

@ -1,3 +1,8 @@
2020-08-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
* gdb.base/print-file-var.exp: Fix typo "breapoint".
* gdb.trace/strace.exp: Ditto.
2020-08-19 Alok Kumar Sharma <AlokKumar.Sharma@amd.com> 2020-08-19 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
* gdb.fortran/vla-type.exp: Skip commands not required for * gdb.fortran/vla-type.exp: Skip commands not required for

View File

@ -106,7 +106,7 @@ proc test {hidden dlopen version_id_main lang} {
[gdb_get_line_number "STOP" "${main}.c"] [gdb_get_line_number "STOP" "${main}.c"]
gdb_test "break $main.c:$bp_location" \ gdb_test "break $main.c:$bp_location" \
"Breakpoint \[0-9\]+ at 0x\[0-9a-fA-F\]+: .*" \ "Breakpoint \[0-9\]+ at 0x\[0-9a-fA-F\]+: .*" \
"breapoint at STOP marker" "breakpoint at STOP marker"
gdb_test "continue" \ gdb_test "continue" \
"Breakpoint \[0-9\]+, main \\(\\) at.*STOP.*" \ "Breakpoint \[0-9\]+, main \\(\\) at.*STOP.*" \

View File

@ -242,7 +242,7 @@ proc strace_trace_on_same_addr { type } {
"ust/bar\[\t \]+y\[\t \]+$hex .*ust/bar2\[\t \]+y\[\t \]+$hex.*" \ "ust/bar\[\t \]+y\[\t \]+$hex .*ust/bar2\[\t \]+y\[\t \]+$hex.*" \
"info static-tracepoint-markers 2" "info static-tracepoint-markers 2"
# Set breapoints or tracepoints. # Set breakpoints or tracepoints.
set test "${type} on marker bar" set test "${type} on marker bar"
gdb_test_multiple "${type} *${marker_bar_addr}" $test { gdb_test_multiple "${type} *${marker_bar_addr}" $test {
-re "\(Fast trace|Trace|Break\)point \[0-9\]+ at ${hex}: file.*\r\n$gdb_prompt $" { -re "\(Fast trace|Trace|Break\)point \[0-9\]+ at ${hex}: file.*\r\n$gdb_prompt $" {