[binutils-gdb] Fix issue with warning messages about corrupt debuginfod notes.
Nick Clifton
nickc@sourceware.org
Fri Jan 24 11:55:00 GMT 2020
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=2f796de6da8329a9071d29b03278601e8d45152c
commit 2f796de6da8329a9071d29b03278601e8d45152c
Author: Nick Clifton <nickc@redhat.com>
Date: Fri Jan 24 11:55:12 2020 +0000
Fix issue with warning messages about corrupt debuginfod notes.
* readelf.c (get_build_id): Fix warning messages about corrupt
notes.
Diff:
---
binutils/ChangeLog | 5 +++++
binutils/readelf.c | 4 ++--
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 81888e8..2e31085 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,8 @@
+2020-01-24 Nick Clifton <nickc@redhat.com>
+
+ * readelf.c (get_build_id): Fix warning messages about corrupt
+ notes.
+
2020-01-23 Nick Clifton <nickc@redhat.com>
* po/fr.po: Updated French translation.
diff --git a/binutils/readelf.c b/binutils/readelf.c
index 4dcac96..eabb70f 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -14242,7 +14242,7 @@ get_build_id (void * data)
{
warn (ngettext ("debuginfod: Corrupt note: only %ld byte remains, "
"not enough for a full note\n",
- "Corrupt note: only %ld bytes remain, "
+ "debuginfod: Corrupt note: only %ld bytes remain, "
"not enough for a full note\n",
data_remaining),
(long) data_remaining);
@@ -14271,7 +14271,7 @@ get_build_id (void * data)
{
warn (ngettext ("debuginfod: Corrupt note: only %ld byte remains, "
"not enough for a full note\n",
- "Corrupt note: only %ld bytes remain, "
+ "debuginfod: Corrupt note: only %ld bytes remain, "
"not enough for a full note\n",
data_remaining),
(long) data_remaining);
More information about the Binutils-cvs
mailing list