[PATCH] Add --with-system-zlib in gdb

H.J. Lu hjl.tools@gmail.com
Tue Mar 31 13:46:00 GMT 2015


On Tue, Mar 31, 2015 at 4:51 AM, H.J. Lu <hjl.tools@gmail.com> wrote:
> On Tue, Mar 31, 2015 at 04:27:12AM -0700, H.J. Lu wrote:
>> This patch adds --with-system-zlib and removes --with-zlib in gdb.
>> OK for master?
>>

Here is the patch for updated zlib.m4.  OK for master?


-- 
H.J.
---
This patch adds --with-system-zlib and removes --with-zlib in gdb.

* Makefile.in (ZLIB): New.
(ZLIBINC): Likewise.
(INTERNAL_CFLAGS_BASE): Add $(ZLIBINC).
(CLIBS): Add $(ZLIB).
* acinclude.m4: (GDB_AC_CHECK_BFD): Add -lz to LIBS.
* gdb_bfd.c: Don't check HAVE_ZLIB_H to include <zlib.h>.
* top.c (print_gdb_configuration): Remove --with-zlib and
--without-zlib.
* config.in: Regenerated.
* configure: Likewise.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-Add-with-system-zlib-in-gdb.patch
Type: text/x-patch
Size: 9116 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20150331/1f1cf70a/attachment.bin>


More information about the Gdb-patches mailing list