* configure.ac (AC_SEARCH_LIBS): Add check for zlib.
authorCraig Silverstein <csilvers@google.com>
Sat, 19 Apr 2008 05:06:54 +0000 (05:06 +0000)
committerCraig Silverstein <csilvers@google.com>
Sat, 19 Apr 2008 05:06:54 +0000 (05:06 +0000)
commit233a11ab1cb254efafd98e5d530de2d993760e1b
treeeb8b55a28d2f4a0868face5195ab5931a19f1e9f
parenta03b3a978574778b7aee965e23a1f60968b0fcb2
* configure.ac (AC_SEARCH_LIBS): Add check for zlib.
* config.in, configure: Regenerate.
* dwarf2read.c: Include zlib.h if present.
Modified *_SECTION macros.
(section_is_p): New.
(dwarf2_locate_sections): Use section_is_p instead of strcmp
(dwarf2_resize_section): New.
to determine whether a given section has a given name.
(zlib_decompress_section): New.
(dwarf2_read_section): Read the compressed section if present
in the binary.
* testsuite/gdb.dwarf2/dw2-compressed.S: New file.
* testsuite/gdb.dwarf2/dw2-compressed.exp: New file.
* MAINTAINERS: Added myself to section Write After Approval.
gdb/ChangeLog
gdb/MAINTAINERS
gdb/config.in
gdb/configure
gdb/configure.ac
gdb/dwarf2read.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.dwarf2/dw2-compressed.S [new file with mode: 0644]
gdb/testsuite/gdb.dwarf2/dw2-compressed.exp [new file with mode: 0644]