From: Tankut Baris Aktemur Date: Thu, 20 Aug 2020 12:23:34 +0000 (+0200) Subject: gdb: fix typo "breapoint" -> "breakpoint" X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=33bf4c5c10d246543c7a9a8ba4bbbe173d7f3367;p=binutils-gdb.git gdb: fix typo "breapoint" -> "breakpoint" gdb/ChangeLog: 2020-08-20 Tankut Baris Aktemur * infrun.c (process_event_stop_test): Fix typo "breapoint". gdb/testsuite/ChangeLog: 2020-08-20 Tankut Baris Aktemur * gdb.base/print-file-var.exp: Fix typo "breapoint". * gdb.trace/strace.exp: Ditto. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index aee25787b0f..c568945bf0b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2020-08-20 Tankut Baris Aktemur + + * infrun.c (process_event_stop_test): Fix typo "breapoint". + 2020-08-19 Alok Kumar Sharma * amd64-tdep.c (amd64_skip_prologue): Using symbol table diff --git a/gdb/infrun.c b/gdb/infrun.c index 7be1fed76df..66f50205449 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -6670,7 +6670,7 @@ process_event_stop_test (struct execution_control_state *ecs) fprintf_unfiltered (gdb_stdlog, "infrun: BPSTAT_WHAT_STOP_NOISY\n"); 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 resumed. */ 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"); 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 resumed. */ ecs->event_thread->stepping_over_breakpoint = 1; diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 0e4f6a5ce90..7976dd76306 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2020-08-20 Tankut Baris Aktemur + + * gdb.base/print-file-var.exp: Fix typo "breapoint". + * gdb.trace/strace.exp: Ditto. + 2020-08-19 Alok Kumar Sharma * gdb.fortran/vla-type.exp: Skip commands not required for diff --git a/gdb/testsuite/gdb.base/print-file-var.exp b/gdb/testsuite/gdb.base/print-file-var.exp index b77e8547dfb..22df9f10674 100644 --- a/gdb/testsuite/gdb.base/print-file-var.exp +++ b/gdb/testsuite/gdb.base/print-file-var.exp @@ -106,7 +106,7 @@ proc test {hidden dlopen version_id_main lang} { [gdb_get_line_number "STOP" "${main}.c"] gdb_test "break $main.c:$bp_location" \ "Breakpoint \[0-9\]+ at 0x\[0-9a-fA-F\]+: .*" \ - "breapoint at STOP marker" + "breakpoint at STOP marker" gdb_test "continue" \ "Breakpoint \[0-9\]+, main \\(\\) at.*STOP.*" \ diff --git a/gdb/testsuite/gdb.trace/strace.exp b/gdb/testsuite/gdb.trace/strace.exp index cba2091ceb4..d2d7d199847 100644 --- a/gdb/testsuite/gdb.trace/strace.exp +++ b/gdb/testsuite/gdb.trace/strace.exp @@ -242,7 +242,7 @@ proc strace_trace_on_same_addr { type } { "ust/bar\[\t \]+y\[\t \]+$hex .*ust/bar2\[\t \]+y\[\t \]+$hex.*" \ "info static-tracepoint-markers 2" - # Set breapoints or tracepoints. + # Set breakpoints or tracepoints. set test "${type} on marker bar" gdb_test_multiple "${type} *${marker_bar_addr}" $test { -re "\(Fast trace|Trace|Break\)point \[0-9\]+ at ${hex}: file.*\r\n$gdb_prompt $" {