diff options
author | Tom Tromey <tromey@adacore.com> | 2025-04-03 08:33:58 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2025-04-03 10:56:32 -0600 |
commit | 973c575967442da470ad56efbfb897753f0de68e (patch) | |
tree | d6c08a13b58fab17b6dec93da4beabf4af102b2d /gdb/ada-varobj.c | |
parent | 2d458da9a8e1927275589c308ae19eae577d2b3c (diff) | |
download | binutils-973c575967442da470ad56efbfb897753f0de68e.zip binutils-973c575967442da470ad56efbfb897753f0de68e.tar.gz binutils-973c575967442da470ad56efbfb897753f0de68e.tar.bz2 |
Many minor typo fixes
I ran codespell on gdb/*.[chyl] and fixed a bunch of simple typos.
Most of what remains is trickier, i.e., spots where a somewhat natural
name of something in the code is flagged as a typo.
Reviewed-By: Tom de Vries <tdevries@suse.de>
Diffstat (limited to 'gdb/ada-varobj.c')
-rw-r--r-- | gdb/ada-varobj.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/ada-varobj.c b/gdb/ada-varobj.c index 21412db..b188ea6 100644 --- a/gdb/ada-varobj.c +++ b/gdb/ada-varobj.c @@ -612,7 +612,7 @@ ada_varobj_describe_simple_array_child (struct value *parent_value, { std::string index_img = ada_varobj_scalar_image (index_type, real_index); - /* Enumeration litterals by themselves are potentially ambiguous. + /* Enumeration literals by themselves are potentially ambiguous. For instance, consider the following package spec: package Pck is @@ -620,10 +620,10 @@ ada_varobj_describe_simple_array_child (struct value *parent_value, type Blood_Cells is (White, Red); end Pck; - In this case, the litteral "red" for instance, or even - the fully-qualified litteral "pck.red" cannot be resolved + In this case, the literal "red" for instance, or even + the fully-qualified literal "pck.red" cannot be resolved by itself. Type qualification is needed to determine which - enumeration litterals should be used. + enumeration literals should be used. The following variable will be used to contain the name of the array index type when such type qualification is |