mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 09:08:59 +00:00
PR 12983
* binutils/nm.c (display_file): Decompress debug sections when printing line numbers.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user