From 2152b4fdec3eb950f6ef54c6376dcb6fbdb52d02 Mon Sep 17 00:00:00 2001 From: Tom de Vries Date: Thu, 27 May 2021 15:22:38 +0200 Subject: [PATCH] [gdb/symtab] Fix typo in dwarf error message Fix "Cannot not" typo in dwarf error message. Tested on x86_64-linux. gdb/ChangeLog: 2021-05-27 Tom de Vries * dwarf2/read.c (find_partial_die): Fix "Cannot not" typo in dwarf error. --- gdb/ChangeLog | 5 +++++ gdb/dwarf2/read.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3154a8d0ed1..3c0c2db7147 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2021-05-27 Tom de Vries + + * dwarf2/read.c (find_partial_die): Fix "Cannot not" typo in dwarf + error. + 2021-05-27 Tom de Vries PR symtab/27898 diff --git a/gdb/dwarf2/read.c b/gdb/dwarf2/read.c index 3f496347cce..0da87bbecd6 100644 --- a/gdb/dwarf2/read.c +++ b/gdb/dwarf2/read.c @@ -19401,7 +19401,7 @@ find_partial_die (sect_offset sect_off, int offset_in_dwz, struct dwarf2_cu *cu) } if (pd == NULL) - error (_("Dwarf Error: Cannot not find DIE at %s [from module %s]\n"), + error (_("Dwarf Error: Cannot find DIE at %s [from module %s]\n"), sect_offset_str (sect_off), bfd_get_filename (objfile->obfd)); return { cu, pd }; } -- 2.30.2