diff options
author | Tom Tromey <tromey@redhat.com> | 2012-07-18 19:57:20 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2012-07-18 19:57:20 +0000 |
commit | 4ee2aab930752a33e71dfd11865fde112bc03003 (patch) | |
tree | 1383c6dc1e58a6a8466856ce24988c8308d39e29 /libtool.m4 | |
parent | 17642581262f80256311ad4a8707c3aa462e0b2a (diff) | |
download | gdb-4ee2aab930752a33e71dfd11865fde112bc03003.tar.gz |
* dwarf2read.c: Don't include zlib.h or sys/mman.h.
(pagesize): Remove.
(struct dwarf2_section_info) <map_addr, map_len>: Remove.
(zlib_decompress_section): Remove.
(dwarf2_read_section): Use gdb_bfd_map_section.
(munmap_section_buffer): Remove.
(free_dwo_file, dwarf2_per_objfile_free): Don't use
munmap_section_buffer.
* gdb_bfd.c: Include zlib.h, sys/mman.h.
(struct gdb_bfd_section_data): New.
(free_one_bfd_section): New function.
(gdb_bfd_close_or_warn): Use free_one_bfd_section.
(get_section_descriptor, zlib_decompress_section)
(gdb_bfd_map_section): New functions.
* gdb_bfd.h (gdb_bfd_map_section): Declare.
Diffstat (limited to 'libtool.m4')
0 files changed, 0 insertions, 0 deletions