]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
[gdb/symtab] Change DWARF_ERROR from Dwarf Error to DWARF Error
authorTom de Vries <tdevries@suse.de>
Tue, 27 Aug 2024 07:08:41 +0000 (09:08 +0200)
committerTom de Vries <tdevries@suse.de>
Tue, 27 Aug 2024 07:08:41 +0000 (09:08 +0200)
commitb5070480d74eca8d5fdf8e7a605df2f0edc9f37a
treeb7698b3b2604a86df0ecb07873133884ad7f1ff6
parent408dac3f4522ecf73a0358c3c227498433614f24
[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
gdb/dwarf2/error.h
gdb/testsuite/gdb.dwarf2/dw2-bad-parameter-type.exp
gdb/testsuite/gdb.dwarf2/dw2-error.exp
gdb/testsuite/gdb.dwarf2/dw2-missing-cu-tag.exp
gdb/testsuite/gdb.dwarf2/dw2-using-debug-str.exp
gdb/testsuite/gdb.dwarf2/struct-with-sig-2.exp