[RFC,0/2] let gdbserver use libiberty

Message ID 20140620120149.GA9199@blade.nx
State Committed
Headers

Commit Message

Gary Benson June 20, 2014, 12:01 p.m. UTC
  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

--
  

Comments

Tom Tromey June 20, 2014, 2:16 p.m. UTC | #1
>>>>> "Gary" == Gary Benson <gbenson@redhat.com> writes:

Gary> I had to apply the attached patch (and run autoconf, autoheader) to
Gary> build with mingw32 on x86-64 RHEL 6.5.  Should I tidy this up and
Gary> commit it?

Yes, please.  Thanks.

Tom
  

Patch

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