From 80656a8e4b32353025f7f4cb1279168f082fbf7b Mon Sep 17 00:00:00 2001 From: Andrew Burgess Date: Wed, 29 Sep 2021 09:16:52 +0100 Subject: [PATCH] gdb: fix manor -> manner typo in some comments In a recent commit I used 'manor' in some comments rather than 'manner'. This commit fixes those two mistakes. I also looked through the gdb/ tree and found one additional instance of this mistake that this commit also fixes. --- gdb/bt-utils.c | 2 +- gdb/bt-utils.h | 2 +- gdb/language.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gdb/bt-utils.c b/gdb/bt-utils.c index b5e0a0ed004..8f826bde6b4 100644 --- a/gdb/bt-utils.c +++ b/gdb/bt-utils.c @@ -108,7 +108,7 @@ libbacktrace_print (void *data, uintptr_t pc, const char *filename, return function != nullptr && strcmp (function, "main") == 0; } -/* Write a backtrace to GDB's stderr in an async safe manor. This is a +/* Write a backtrace to GDB's stderr in an async safe manner. This is a backtrace of GDB, not any running inferior, and is to be used when GDB crashes or hits some other error condition. */ diff --git a/gdb/bt-utils.h b/gdb/bt-utils.h index 433aa23614b..a406041ec64 100644 --- a/gdb/bt-utils.h +++ b/gdb/bt-utils.h @@ -49,7 +49,7 @@ #endif /* Print a backtrace of the current GDB process to the current - gdb_stderr. The output is done in a signal async manor, so it is safe + gdb_stderr. The output is done in a signal async manner, so it is safe to call from signal handlers. */ extern void gdb_internal_backtrace (); diff --git a/gdb/language.h b/gdb/language.h index cec3ab03ed6..69101bd4074 100644 --- a/gdb/language.h +++ b/gdb/language.h @@ -574,7 +574,7 @@ struct language_defn /* Return false if the language has first-class arrays. Return true if there are no array values, and array objects decay to pointers, as in C. The default is true as currently most supported languages behave - in this manor. */ + in this manner. */ virtual bool c_style_arrays_p () const { return true; } -- 2.30.2