* objdump.c (with_source_code): New global variable.
authorIan Lance Taylor <ian@airs.com>
Tue, 14 Feb 1995 23:07:21 +0000 (23:07 +0000)
committerIan Lance Taylor <ian@airs.com>
Tue, 14 Feb 1995 23:07:21 +0000 (23:07 +0000)
commita8e27cc68433cfce8b3c22fd378e30df0505b530
tree85180ffc36b29060e4a920cebea2e6185e5a1228
parent580102b0261e1a1dde16f005b402dd024362e170
* objdump.c (with_source_code): New global variable.
(usage): Mention -S/--source.
(long_options): Add --source.
(prev_functionname, prev_line): New static variables.
(struct print_file_list): Define.
(print_files): New static variable.
(skip_to_line, show_line): New static functions.
(disassemble_data): Call show_line to handle -l and -S.
(main): Handle -S.
* binutils.texi, objdump.1: Document -S/--source.
binutils/binutils.texi
binutils/objdump.1