This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[RFC 0/2] let gdbserver use libiberty
- From: Tom Tromey <tromey at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Mon, 20 Jan 2014 11:49:50 -0700
- Subject: [RFC 0/2] let gdbserver use libiberty
- Authentication-results: sourceware.org; auth=none
This series changes gdbserver to build its own copy of libiberty
(using ACX_CONFIGURE_DIR) and then link against it. I've needed this
at least once (for a cloexec patch) and I've seen other situations
where it would have been useful.
This is of course not the ideal way to depend on libiberty -- better
would be to use the same build that gdb uses. However, due to the
requirement that gdbserver be separately configurable, this is the
best that can be done immediately.
FWIW I do have a branch to move common, gnulib, and gdbserver to
top-level. However, that branch still has some issues to be sorted
out (namely, what to rename "common", and how to compute the
definition of CORE_ADDR); and in any case a patch like this one would
be required at some point in the process -- and it seems useful to
have it sooner rather than later.
Built and regtested on x86-64 Fedora 18.
Tom