aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorTankut Baris Aktemur <tankut.baris.aktemur@intel.com>2020-08-20 14:23:34 +0200
committerTankut Baris Aktemur <tankut.baris.aktemur@intel.com>2020-08-20 14:26:55 +0200
commit33bf4c5c10d246543c7a9a8ba4bbbe173d7f3367 (patch)
treeac4701266d3afc69d62030de68958e84825c722c /gdb
parent44466e45c51b1c68ed2f95f86bcdb1f18f08b380 (diff)
downloadgdb-33bf4c5c10d246543c7a9a8ba4bbbe173d7f3367.zip
gdb-33bf4c5c10d246543c7a9a8ba4bbbe173d7f3367.tar.gz
gdb-33bf4c5c10d246543c7a9a8ba4bbbe173d7f3367.tar.bz2
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.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/infrun.c4
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.base/print-file-var.exp2
-rw-r--r--gdb/testsuite/gdb.trace/strace.exp2
5 files changed, 13 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index aee2578..c568945 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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>
* amd64-tdep.c (amd64_skip_prologue): Using symbol table
diff --git a/gdb/infrun.c b/gdb/infrun.c
index 7be1fed..66f5020 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 0e4f6a5..7976dd7 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -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>
* 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 b77e854..22df9f1 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 cba2091..d2d7d19 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 $" {