diff options
author | Andrew Burgess <andrew.burgess@embecosm.com> | 2021-09-29 09:16:52 +0100 |
---|---|---|
committer | Andrew Burgess <andrew.burgess@embecosm.com> | 2021-09-29 09:16:52 +0100 |
commit | 80656a8e4b32353025f7f4cb1279168f082fbf7b (patch) | |
tree | 72c7303a6839b65880476ad4dbd16e9600fb375a | |
parent | fba9460f7cc1d6de1b7b647dd1e149f40733a87c (diff) | |
download | gdb-80656a8e4b32353025f7f4cb1279168f082fbf7b.zip gdb-80656a8e4b32353025f7f4cb1279168f082fbf7b.tar.gz gdb-80656a8e4b32353025f7f4cb1279168f082fbf7b.tar.bz2 |
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.
-rw-r--r-- | gdb/bt-utils.c | 2 | ||||
-rw-r--r-- | gdb/bt-utils.h | 2 | ||||
-rw-r--r-- | gdb/language.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/gdb/bt-utils.c b/gdb/bt-utils.c index b5e0a0e..8f826bd 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 433aa23..a406041 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 cec3ab0..69101bd 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; } |