aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2/error.h
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2024-08-27 09:08:41 +0200
committerTom de Vries <tdevries@suse.de>2024-08-27 09:08:41 +0200
commitb5070480d74eca8d5fdf8e7a605df2f0edc9f37a (patch)
treeb7698b3b2604a86df0ecb07873133884ad7f1ff6 /gdb/dwarf2/error.h
parent408dac3f4522ecf73a0358c3c227498433614f24 (diff)
downloadbinutils-b5070480d74eca8d5fdf8e7a605df2f0edc9f37a.zip
binutils-b5070480d74eca8d5fdf8e7a605df2f0edc9f37a.tar.gz
binutils-b5070480d74eca8d5fdf8e7a605df2f0edc9f37a.tar.bz2
[gdb/symtab] Change DWARF_ERROR from Dwarf Error to DWARF Error
It was suggested here [1] that the canonical prefix for dwarf errors should not be "Dwarf Error: ", given that the canonical spelling is DWARF instead of Dwarf. Fix this by using "DWARF Error: " instead. Given the use of DWARF_ERROR_PREFIX, that needs to be changed only in a single location. Tested on x86_64-linux. Suggested-By: Tom Tromey <tom@tromey.com> Approved-By: Tom Tromey <tom@tromey.com> [1] https://sourceware.org/pipermail/gdb-patches/2024-August/211258.html
Diffstat (limited to 'gdb/dwarf2/error.h')
-rw-r--r--gdb/dwarf2/error.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dwarf2/error.h b/gdb/dwarf2/error.h
index 3314624..f8861f2 100644
--- a/gdb/dwarf2/error.h
+++ b/gdb/dwarf2/error.h
@@ -21,7 +21,7 @@
#define GDB_DWARF2_ERROR_H
/* Canonical capitalization of "dwarf error". */
-#define DWARF_ERROR "Dwarf Error"
+#define DWARF_ERROR "DWARF Error"
/* Prefix to be used in dwarf errors. */
#define DWARF_ERROR_PREFIX DWARF_ERROR ": "