diff options
author | Tom Tromey <tromey@redhat.com> | 2012-07-18 19:57:21 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2012-07-18 19:57:21 +0000 |
commit | 4bf44c1cf1abad13fcda09e20983757f175c6dca (patch) | |
tree | cdf42085d3145af5f039d7783b63f6ce4d622a32 /gdb/ChangeLog | |
parent | bb39779773bd297e43c409d2643e787aaeb6c3e1 (diff) | |
download | gdb-4bf44c1cf1abad13fcda09e20983757f175c6dca.zip gdb-4bf44c1cf1abad13fcda09e20983757f175c6dca.tar.gz gdb-4bf44c1cf1abad13fcda09e20983757f175c6dca.tar.bz2 |
* 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 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a200927..10dacd6 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,23 @@ 2012-07-18 Tom Tromey <tromey@redhat.com> + * 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. + +2012-07-18 Tom Tromey <tromey@redhat.com> + * dwarf2read.c (try_open_dwo_file): use gdb_bfd_open. 2012-07-18 Tom Tromey <tromey@redhat.com> |