diff options
author | Cary Coutant <ccoutant@google.com> | 2011-07-12 04:47:49 +0000 |
---|---|---|
committer | Cary Coutant <ccoutant@google.com> | 2011-07-12 04:47:49 +0000 |
commit | b76e66d3ba4d17fb1a71e0c83d8c3d59a16c2681 (patch) | |
tree | b7c8baea5fd79639c0660f949af16205c61f0932 /binutils/nm.c | |
parent | d48b3b9acc0e095ea96a82c1ae56545f8302e31a (diff) | |
download | gdb-b76e66d3ba4d17fb1a71e0c83d8c3d59a16c2681.zip gdb-b76e66d3ba4d17fb1a71e0c83d8c3d59a16c2681.tar.gz gdb-b76e66d3ba4d17fb1a71e0c83d8c3d59a16c2681.tar.bz2 |
PR 12983
* binutils/nm.c (display_file): Decompress debug sections when
printing line numbers.
Diffstat (limited to 'binutils/nm.c')
-rw-r--r-- | binutils/nm.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/binutils/nm.c b/binutils/nm.c index 2fc13b4..04067b1 100644 --- a/binutils/nm.c +++ b/binutils/nm.c @@ -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); |