Limit objdump -S context lines
authorAlan Modra <amodra@gmail.com>
Fri, 24 Jun 2016 01:20:25 +0000 (10:50 +0930)
committerAlan Modra <amodra@gmail.com>
Fri, 24 Jun 2016 13:35:48 +0000 (23:05 +0930)
commit43339b1d1cac16ee3e3b556ff5ab3f031d03b5eb
treecda3d530cec9a928e7de5270487cf72826f8465c
parentda4463c7d74ca0314fcab31f4a98dca3fd98e250
Limit objdump -S context lines

Showing context lines is confusing in many cases, an obvious example
being loops.

* objdump.c (struct print_file_list): Add "max_printed".
(try_print_file_open): Init new field.
(show_line): Don't show 5 context lines when redisplaying source.
binutils/ChangeLog
binutils/objdump.c