This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC 0/2] let gdbserver use libiberty
- From: Gary Benson <gbenson at redhat dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 20 Jun 2014 13:01:49 +0100
- Subject: Re: [RFC 0/2] let gdbserver use libiberty
- Authentication-results: sourceware.org; auth=none
- References: <1390243792-31176-1-git-send-email-tromey at redhat dot com> <87oaxxrhj4 dot fsf at fleche dot redhat dot com>
Tom Tromey wrote:
> >>>>> "Tom" == Tom Tromey <tromey@redhat.com> writes:
>
> Tom> This series changes gdbserver to build its own copy of libiberty
> Tom> (using ACX_CONFIGURE_DIR) and then link against it. I've needed
> Tom> this at least once (for a cloexec patch) and I've seen other
> Tom> situations where it would have been useful.
>
> This series slipped through the cracks somehow. I'm going to push
> it now. I believe I addressed all the review comments upthread. I
> rebased it and rebuilt it on x86-64 Fedora 20; let me know if you
> encounter any problems.
I had to apply the attached patch (and run autoconf, autoheader) to
build with mingw32 on x86-64 RHEL 6.5. Should I tidy this up and
commit it?
Cheers
Gary
--
diff --git a/gdb/gdbserver/configure.ac b/gdb/gdbserver/configure.ac
index ede38d0..6fb2379 100644
--- a/gdb/gdbserver/configure.ac
+++ b/gdb/gdbserver/configure.ac
@@ -85,7 +85,6 @@ AC_CHECK_HEADERS(sgtty.h termio.h termios.h sys/reg.h string.h dnl
sys/ioctl.h netinet/in.h sys/socket.h netdb.h dnl
netinet/tcp.h arpa/inet.h)
AC_CHECK_FUNCS(pread pwrite pread64 readlink)
-AC_REPLACE_FUNCS(vasprintf vsnprintf)
GDB_AC_COMMON