[pushed,gdbsupport] Fix typo in common-inferior.h

Message ID 20250320155626.14130-1-tdevries@suse.de
State Committed
Headers
Series [pushed,gdbsupport] Fix typo in common-inferior.h |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_gdb_build--master-aarch64 fail Patch failed to apply
linaro-tcwg-bot/tcwg_gdb_build--master-arm fail Patch failed to apply

Commit Message

Tom de Vries March 20, 2025, 3:56 p.m. UTC
  Fix the following typo:
...
$ codespell --config gdbsupport/setup.cfg gdbsupport/
gdbsupport/common-inferior.h:57: elemets ==> elements
...
---
 gdbsupport/common-inferior.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


base-commit: 37c6eb16164a2345484777bb5affab45ab502f6f
  

Patch

diff --git a/gdbsupport/common-inferior.h b/gdbsupport/common-inferior.h
index 3e8ec10df9b..a277e1b5990 100644
--- a/gdbsupport/common-inferior.h
+++ b/gdbsupport/common-inferior.h
@@ -54,7 +54,7 @@  extern bool startup_with_shell;
 
 /* Combine elements of ARGV into a single string, placing a single
    whitespace character between each element.  When ESCAPE_SHELL_CHAR is
-   true then any special shell characters in elemets of ARGV will be
+   true then any special shell characters in elements of ARGV will be
    escaped.  When ESCAPE_SHELL_CHAR is false only the characters that GDB
    sees as special (quotes and whitespace) are escaped.  */
 extern std::string