Re: [PATCH] Move gdbserver to top level

Simon Marchi
2020-01-21T04:21:03Z

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