From 8b2ea4bcbc918cf06e73d3d2ab433dd4442fc720 Mon Sep 17 00:00:00 2001 From: Tom de Vries Date: Mon, 18 Nov 2024 09:46:31 +0100 Subject: [PATCH] [gdb] Fix some typos Run gdb/contrib/spellcheck.sh on directories gdb*. Fix typo: ... unkown -> unknown ... Tested on x86_64-linux. --- gdb/nat/linux-btrace.c | 2 +- gdbsupport/btrace-common.cc | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gdb/nat/linux-btrace.c b/gdb/nat/linux-btrace.c index 7ff12d62c11..0b820cc3b0e 100644 --- a/gdb/nat/linux-btrace.c +++ b/gdb/nat/linux-btrace.c @@ -1004,7 +1004,7 @@ linux_read_btrace (struct btrace_data *btrace, return linux_read_pt (&btrace->variant.pt, tinfo, type); } - internal_error (_("Unkown branch trace format.")); + internal_error (_("Unknown branch trace format.")); } /* See linux-btrace.h. */ diff --git a/gdbsupport/btrace-common.cc b/gdbsupport/btrace-common.cc index 2358a9fab33..b7f9493bf0d 100644 --- a/gdbsupport/btrace-common.cc +++ b/gdbsupport/btrace-common.cc @@ -81,7 +81,7 @@ btrace_data::fini () return; } - internal_error (_("Unkown branch trace format.")); + internal_error (_("Unknown branch trace format.")); } /* See btrace-common.h. */ @@ -101,7 +101,7 @@ btrace_data::empty () const return (variant.pt.size == 0); } - internal_error (_("Unkown branch trace format.")); + internal_error (_("Unknown branch trace format.")); } /* See btrace-common.h. */ @@ -184,5 +184,5 @@ btrace_data_append (struct btrace_data *dst, return 0; } - internal_error (_("Unkown branch trace format.")); + internal_error (_("Unknown branch trace format.")); }