mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-24 04:29:49 +00:00
PR 12983
* binutils/nm.c (display_file): Decompress debug sections when printing line numbers.
This commit is contained in:
parent
d48b3b9acc
commit
b76e66d3ba
@ -1,3 +1,9 @@
|
||||
2011-07-11 Cary Coutant <ccoutant@google.com>
|
||||
|
||||
PR 12983
|
||||
* binutils/nm.c (display_file): Decompress debug sections when
|
||||
printing line numbers.
|
||||
|
||||
2011-07-03 Samuel Thibault <samuel.thibault@gnu.org>
|
||||
Thomas Schwinge <thomas@schwinge.name>
|
||||
|
||||
|
@ -1202,6 +1202,10 @@ display_file (char *filename)
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/* If printing line numbers, decompress the debug sections. */
|
||||
if (line_numbers)
|
||||
file->flags |= BFD_DECOMPRESS;
|
||||
|
||||
if (bfd_check_format (file, bfd_archive))
|
||||
{
|
||||
display_archive (file);
|
||||
|
Loading…
Reference in New Issue
Block a user