From b5070480d74eca8d5fdf8e7a605df2f0edc9f37a Mon Sep 17 00:00:00 2001 From: Tom de Vries Date: Tue, 27 Aug 2024 09:08:41 +0200 Subject: [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 Approved-By: Tom Tromey [1] https://sourceware.org/pipermail/gdb-patches/2024-August/211258.html --- gdb/dwarf2/error.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/dwarf2/error.h') 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 ": " -- cgit v1.1