aboutsummaryrefslogtreecommitdiff
path: root/gdbsupport
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2023-06-03 22:43:57 +0200
committerTom de Vries <tdevries@suse.de>2023-06-03 22:43:57 +0200
commit33b5899fc0c31059377e9bdf76d889ff0c803ae1 (patch)
treeb3beeb9da113a5475b12bd9096b7fabf689ec6d9 /gdbsupport
parent343704a6d71d8aa44c64e3657e20501eab4d0ea8 (diff)
downloadgdb-33b5899fc0c31059377e9bdf76d889ff0c803ae1.zip
gdb-33b5899fc0c31059377e9bdf76d889ff0c803ae1.tar.gz
gdb-33b5899fc0c31059377e9bdf76d889ff0c803ae1.tar.bz2
[gdb] Fix typos
Fix a few typos: - implemention -> implementation - convertion(s) -> conversion(s) - backlashes -> backslashes - signoring -> ignoring - (un)ambigious -> (un)ambiguous - occured -> occurred - hidding -> hiding - temporarilly -> temporarily - immediatelly -> immediately - sillyness -> silliness - similiar -> similar - porkuser -> pokeuser - thats -> that - alway -> always - supercede -> supersede - accomodate -> accommodate - aquire -> acquire - priveleged -> privileged - priviliged -> privileged - priviledges -> privileges - privilige -> privilege - recieve -> receive - (p)refered -> (p)referred - succesfully -> successfully - successfuly -> successfully - responsability -> responsibility - wether -> whether - wich -> which - disasbleable -> disableable - descriminant -> discriminant - construcstor -> constructor - underlaying -> underlying - underyling -> underlying - structureal -> structural - appearences -> appearances - terciarily -> tertiarily - resgisters -> registers - reacheable -> reachable - likelyhood -> likelihood - intepreter -> interpreter - disassemly -> disassembly - covnersion -> conversion - conviently -> conveniently - atttribute -> attribute - struction -> struct - resonable -> reasonable - popupated -> populated - namespaxe -> namespace - intialize -> initialize - identifer(s) -> identifier(s) - expection -> exception - exectuted -> executed - dungerous -> dangerous - dissapear -> disappear - completly -> completely - (inter)changable -> (inter)changeable - beakpoint -> breakpoint - automativ -> automatic - alocating -> allocating - agressive -> aggressive - writting -> writing - reguires -> requires - registed -> registered - recuding -> reducing - opeartor -> operator - ommitted -> omitted - modifing -> modifying - intances -> instances - imbedded -> embedded - gdbaarch -> gdbarch - exection -> execution - direcive -> directive - demanged -> demangled - decidely -> decidedly - argments -> arguments - agrument -> argument - amespace -> namespace - targtet -> target - supress(ed) -> suppress(ed) - startum -> stratum - squence -> sequence - prompty -> prompt - overlow -> overflow - memember -> member - languge -> language - geneate -> generate - funcion -> function - exising -> existing - dinking -> syncing - destroh -> destroy - clenaed -> cleaned - changep -> changedp (name of variable) - arround -> around - aproach -> approach - whould -> would - symobl -> symbol - recuse -> recurse - outter -> outer - freeds -> frees - contex -> context Tested on x86_64-linux. Reviewed-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdbsupport')
-rw-r--r--gdbsupport/common-defs.h2
-rw-r--r--gdbsupport/common-exceptions.cc2
-rw-r--r--gdbsupport/enum-flags.h4
-rw-r--r--gdbsupport/filestuff.cc2
-rw-r--r--gdbsupport/gdb_signals.h2
-rw-r--r--gdbsupport/packed.h2
-rw-r--r--gdbsupport/pathstuff.cc2
-rw-r--r--gdbsupport/reference-to-pointer-iterator.h2
-rw-r--r--gdbsupport/scoped_ignore_sigttou.h2
-rw-r--r--gdbsupport/signals.cc2
10 files changed, 11 insertions, 11 deletions
diff --git a/gdbsupport/common-defs.h b/gdbsupport/common-defs.h
index 5e529f6..72c1c51 100644
--- a/gdbsupport/common-defs.h
+++ b/gdbsupport/common-defs.h
@@ -116,7 +116,7 @@
Say a developer starts out with:
...
- extern void foo (void *ptr) __atttribute__((nonnull (1)));
+ extern void foo (void *ptr) __attribute__((nonnull (1)));
void foo (void *ptr) {}
...
with the idea in mind to catch:
diff --git a/gdbsupport/common-exceptions.cc b/gdbsupport/common-exceptions.cc
index edc1b56..6b2bf74 100644
--- a/gdbsupport/common-exceptions.cc
+++ b/gdbsupport/common-exceptions.cc
@@ -80,7 +80,7 @@ exceptions_state_mc (enum catcher_action action)
switch (action)
{
case CATCH_ITER:
- /* No error/quit has occured. */
+ /* No error/quit has occurred. */
return 0;
case CATCH_ITER_1:
catchers.front ().state = CATCHER_RUNNING_1;
diff --git a/gdbsupport/enum-flags.h b/gdbsupport/enum-flags.h
index 41ac783..afee5af 100644
--- a/gdbsupport/enum-flags.h
+++ b/gdbsupport/enum-flags.h
@@ -200,7 +200,7 @@ public:
/* Convert this object to a std::string, using MAPPING as
enumerator-to-string mapping array. This is not meant to be
called directly. Instead, enum_flags specializations should have
- their own to_string function wrapping this one, thus hidding the
+ their own to_string function wrapping this one, thus hiding the
mapping array from callers.
Note: this is defined outside the template class so it can use
@@ -338,7 +338,7 @@ ENUM_FLAGS_GEN_COMPOUND_ASSIGN (operator^=, ^)
make. It's important to disable comparison with unrelated types to
prevent accidentally comparing with unrelated enum values, which
are convertible to integer, and thus coupled with enum_flags
- convertion to underlying type too, would trigger the built-in 'bool
+ conversion to underlying type too, would trigger the built-in 'bool
operator==(unsigned, int)' operator. */
#define ENUM_FLAGS_GEN_COMP(OPERATOR_OP, OP) \
diff --git a/gdbsupport/filestuff.cc b/gdbsupport/filestuff.cc
index 1724bc5..9e61fea 100644
--- a/gdbsupport/filestuff.cc
+++ b/gdbsupport/filestuff.cc
@@ -517,7 +517,7 @@ read_text_file_to_string (const char *path)
std::string::size_type start_size = res.size ();
constexpr int chunk_size = 1024;
- /* Resize to accomodate CHUNK_SIZE bytes. */
+ /* Resize to accommodate CHUNK_SIZE bytes. */
res.resize (start_size + chunk_size);
int n = fread (&res[start_size], 1, chunk_size, file.get ());
diff --git a/gdbsupport/gdb_signals.h b/gdbsupport/gdb_signals.h
index a70d455..26bb33e 100644
--- a/gdbsupport/gdb_signals.h
+++ b/gdbsupport/gdb_signals.h
@@ -25,7 +25,7 @@
/* Predicate to gdb_signal_to_host(). Return non-zero if the enum
targ_signal SIGNO has an equivalent ``host'' representation. */
/* FIXME: cagney/1999-11-22: The name below was chosen in preference
- to the shorter gdb_signal_p() because it is far less ambigious.
+ to the shorter gdb_signal_p() because it is far less ambiguous.
In this context ``gdb_signal'' refers to GDB's internal
representation of the target's set of signals while ``host signal''
refers to the target operating system's signal. Confused? */
diff --git a/gdbsupport/packed.h b/gdbsupport/packed.h
index b18146c..c9fcc50 100644
--- a/gdbsupport/packed.h
+++ b/gdbsupport/packed.h
@@ -37,7 +37,7 @@
an enum -- but may not work on all compilers. */
/* Clang targeting Windows does not support attribute gcc_struct, so
- we use the alternative byte array implemention there. */
+ we use the alternative byte array implementation there. */
#if defined _WIN32 && defined __clang__
# define PACKED_USE_ARRAY 1
#else
diff --git a/gdbsupport/pathstuff.cc b/gdbsupport/pathstuff.cc
index d1a61f4..685f8fc 100644
--- a/gdbsupport/pathstuff.cc
+++ b/gdbsupport/pathstuff.cc
@@ -41,7 +41,7 @@ gdb_realpath (const char *filename)
But the situation is slightly more complex on Windows, due to some
versions of GCC which were reported to generate paths where
- backlashes (the directory separator) were doubled. For instance:
+ backslashes (the directory separator) were doubled. For instance:
c:\\some\\double\\slashes\\dir
... instead of ...
c:\some\double\slashes\dir
diff --git a/gdbsupport/reference-to-pointer-iterator.h b/gdbsupport/reference-to-pointer-iterator.h
index 1579d4d..70222c2 100644
--- a/gdbsupport/reference-to-pointer-iterator.h
+++ b/gdbsupport/reference-to-pointer-iterator.h
@@ -36,7 +36,7 @@ struct reference_to_pointer_iterator
using iterator_category = typename IteratorType::iterator_category;
using difference_type = typename IteratorType::difference_type;
- /* Construct a reference_to_pointer_iterator, passing args to the underyling
+ /* Construct a reference_to_pointer_iterator, passing args to the underlying
iterator. */
template <typename... Args>
reference_to_pointer_iterator (Args &&...args)
diff --git a/gdbsupport/scoped_ignore_sigttou.h b/gdbsupport/scoped_ignore_sigttou.h
index aa01df2..a3f8361 100644
--- a/gdbsupport/scoped_ignore_sigttou.h
+++ b/gdbsupport/scoped_ignore_sigttou.h
@@ -1,4 +1,4 @@
-/* Support for signoring SIGTTOU.
+/* Support for ignoring SIGTTOU.
Copyright (C) 2003-2023 Free Software Foundation, Inc.
diff --git a/gdbsupport/signals.cc b/gdbsupport/signals.cc
index 0d700c0..0e151af 100644
--- a/gdbsupport/signals.cc
+++ b/gdbsupport/signals.cc
@@ -358,7 +358,7 @@ gdb_signal_from_host (int hostsig)
}
/* Convert a OURSIG (an enum gdb_signal) to the form used by the
- target operating system (refered to as the ``host'') or zero if the
+ target operating system (referred to as the ``host'') or zero if the
equivalent host signal is not available. Set/clear OURSIG_OK
accordingly. */