This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Move gdbserver to top level
- From: Simon Marchi <simark at simark dot ca>
- To: Tom Tromey <tom at tromey dot com>, gdb-patches at sourceware dot org
- Date: Mon, 20 Jan 2020 23:20:58 -0500
- Subject: Re: [PATCH] Move gdbserver to top level
- References: <87d0bf45up.fsf@tromey.com>
On 2020-01-19 2:13 p.m., Tom Tromey wrote:
> Here's the next patch in the ongoing effort to move gdbserver to the top
> level.
>
> I've edited this patch before sending to ensure it won't be too large to
> be accepted by the list. In particular, I used "git show" to create the
> patch (this seems to handle moves better than "git send-email"), and I
> removed the generated files.
Top-level configure.ac says that configs:
- or1k*-*-linux*
- score-*-*
should build gdbserver, but I don't think they have a gdbserver port (despite
them having build_gdbserver=yes prior to this patch), do they?
When autoconf-ing gdbserver, I get:
gdbserver$ autoconf
/usr/bin/m4:acinclude.m4:20: cannot open `../../config/lib-ld.m4': No such file or directory
/usr/bin/m4:acinclude.m4:21: cannot open `../../config/lib-prefix.m4': No such file or directory
/usr/bin/m4:acinclude.m4:22: cannot open `../../config/lib-link.m4': No such file or directory
autom4te: /usr/bin/m4 failed with exit status: 1
I presume these paths need to be updated?
Other than that it LGTM. I fixed the paths above, re-generated everything, and I was able to
build fine.
Simon