aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2007-06-18 16:38:49 +0000
committerNick Clifton <nickc@redhat.com>2007-06-18 16:38:49 +0000
commite8f5eee43dec2a0a9fa39b86a00d937b3879883c (patch)
treeb75c7ac80f6c35d9726c488404f2afe1ce573a49 /gdb
parentdc1f3d8a2de4b827b4b396080acad35398a70fb4 (diff)
downloadgdb-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