aboutsummaryrefslogtreecommitdiff
path: root/gdb/linux-tdep.c
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2024-11-13 22:38:19 +0100
committerTom de Vries <tdevries@suse.de>2024-11-13 22:38:19 +0100
commit5cb0406bb64da200520ab3a9ee8f2a3c58ea6be0 (patch)
tree02739297d2ffb812315ecc3ed18d8af3b2842ad1 /gdb/linux-tdep.c
parent74b9033e6f79dcc4947af7756c6e2aed96986504 (diff)
downloadfsf-binutils-gdb-5cb0406bb64da200520ab3a9ee8f2a3c58ea6be0.zip
fsf-binutils-gdb-5cb0406bb64da200520ab3a9ee8f2a3c58ea6be0.tar.gz
fsf-binutils-gdb-5cb0406bb64da200520ab3a9ee8f2a3c58ea6be0.tar.bz2
[gdb/contrib] Handle capitalized words in spellcheck.sh
The dictionary contains a few entries with capital letters: ... $ grep -E '[A-Z]' .git/wikipedia-common-misspellings.txt | wc -l 143 ... but they don't look too interesting in the gdb context (for instance, Habsbourg->Habsburg), so filter them out. That leaves us with entries looking only like "foobat->foobar", so add handling of capitalized words, such that we also rewrite "Foobat" to "Foobar". Tested on aarch64-linux. Verified with shellcheck. Approved-by: Kevin Buettner <kevinb@redhat.com>
Diffstat (limited to 'gdb/linux-tdep.c')
-rw-r--r--gdb/linux-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/linux-tdep.c b/gdb/linux-tdep.c
index 65ec221..d345205 100644
--- a/gdb/linux-tdep.c
+++ b/gdb/linux-tdep.c
@@ -2104,7 +2104,7 @@ linux_make_corefile_notes (struct gdbarch *gdbarch, bfd *obfd, int *note_size)
if (!note_data)
return NULL;
- /* Auxillary vector. */
+ /* Auxiliary vector. */
std::optional<gdb::byte_vector> auxv =
target_read_alloc (current_inferior ()->top_target (),
TARGET_OBJECT_AUXV, NULL);