mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +08:00
Improves the warning message produyced by objdump when it cannot load a section.
* objdump.c (dump_section): Extend the warning message displayed when a section cannot be loaded.
This commit is contained in:
parent
10d602c7f9
commit
0821d5b14e
@ -1,3 +1,8 @@
|
||||
2015-02-24 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* objdump.c (dump_section): Extend the warning message displayed
|
||||
when a section cannot be loaded.
|
||||
|
||||
2015-02-21 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* readelf.c (process_program_headers): Add newline to warning
|
||||
|
@ -2800,7 +2800,8 @@ dump_section (bfd *abfd, asection *section, void *dummy ATTRIBUTE_UNUSED)
|
||||
|
||||
if (!bfd_get_full_section_contents (abfd, section, &data))
|
||||
{
|
||||
non_fatal (_("Reading section failed"));
|
||||
non_fatal (_("Reading section %s failed because: %s"),
|
||||
section->name, bfd_errmsg (bfd_get_error ()));
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user