PR gdb/14704:
authorTom Tromey <tromey@redhat.com>
Thu, 8 Nov 2012 19:52:42 +0000 (19:52 +0000)
committerTom Tromey <tromey@redhat.com>
Thu, 8 Nov 2012 19:52:42 +0000 (19:52 +0000)
commitea9f10bb87523d421e6c863a7ec66dfee41692b4
tree4ffaabac48c8d7f9209e224d1de031c7db0f3406
parentd071a26bbc15eff9beaa74baef98ffdf4ae2653d
PR gdb/14704:
* gdb_bfd.c (gdb_bfd_ref): Set BFD_DECOMPRESS.
(zlib_decompress_section): Remove.
(gdb_bfd_map_section): Only check for compressed section
in mmap case.  Use bfd_get_full_section_contents.
* osabi.c (check_note): Add 'sectsize' argument.  Read
section data.
(generic_elf_osabi_sniff_abi_tag_sections): Don't read
section data.  Update for check_note change.
* xcoffread.c (xcoff_initial_scan): Use
bfd_get_full_section_contents.
* py-auto-load.c (auto_load_section_scripts): Use
bfd_get_full_section_contents.
* contrib/cc-with-tweaks.sh: Add -Z option.
testsuite
* gdb.base/comprdebug.exp: New file.
gdb/ChangeLog
gdb/contrib/cc-with-tweaks.sh
gdb/gdb_bfd.c
gdb/osabi.c
gdb/python/py-auto-load.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/comprdebug.exp [new file with mode: 0644]
gdb/xcoffread.c