[3/5,gdbserver] Fix typo in tracepoint.cc

Message ID 20250321144251.23618-4-tdevries@suse.de
State Committed
Headers
Series Add codespell hook |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_gdb_build--master-aarch64 success Build passed
linaro-tcwg-bot/tcwg_gdb_build--master-arm success Build passed
linaro-tcwg-bot/tcwg_gdb_check--master-aarch64 success Test passed
linaro-tcwg-bot/tcwg_gdb_check--master-arm success Test passed

Commit Message

Tom de Vries March 21, 2025, 2:42 p.m. UTC
  Fix a typo:
...
$ codespell --config gdbserver/setup.cfg gdbserver/tracepoint.cc
gdbserver/tracepoint.cc:951: mistakingly ==> mistakenly
...
---
 gdbserver/tracepoint.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/gdbserver/tracepoint.cc b/gdbserver/tracepoint.cc
index 5e3792e1d2f..97e41c0dd2f 100644
--- a/gdbserver/tracepoint.cc
+++ b/gdbserver/tracepoint.cc
@@ -948,7 +948,7 @@  struct ipa_trace_buffer_control
    who wrote last to the buffer control structure.  We need to freeze
    any inferior writing to the buffer while GDBserver touches memory,
    so that the inferior can correctly detect that GDBserver had been
-   there, otherwise, it could mistakingly think its commit was
+   there, otherwise, it could mistakenly think its commit was
    successful; that's implemented by simply having GDBserver set a
    breakpoint the inferior hits if it is the critical region.