diff options
author | Nick Clifton <nickc@redhat.com> | 2007-06-18 16:38:49 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2007-06-18 16:38:49 +0000 |
commit | e8f5eee43dec2a0a9fa39b86a00d937b3879883c (patch) | |
tree | b75c7ac80f6c35d9726c488404f2afe1ce573a49 /gdb | |
parent | dc1f3d8a2de4b827b4b396080acad35398a70fb4 (diff) | |
download | gdb-e8f5eee43dec2a0a9fa39b86a00d937b3879883c.zip gdb-e8f5eee43dec2a0a9fa39b86a00d937b3879883c.tar.gz gdb-e8f5eee43dec2a0a9fa39b86a00d937b3879883c.tar.bz2 |
* objdump.c: Include sys/mman.h
(print_file_list): Remove f, add map, mapsize, linemap, maxline, last_line, first fields.
(slurp_file): Add.
(index_file): Add.
(print_file_open): Call slurp_file and index_file. Initialize new fields.
(skip_to_line): Rename to print_line and write only single line.
(dump_line): Add.
(show_line): Change to new algorithm.
Diffstat (limited to 'gdb')
0 files changed, 0 insertions, 0 deletions