Re: [PATCH] Introduce "gdb/configure.nat" (and delete "gdb/config/*/*.mh" files)

Pedro Alves
2017-05-02T21:30:57Z

Let's try to avoid mixing terminology here -- the NAT_ variables should
not be described in terms of "host", but instead in terms
of "native target". That's why they're called NAT_*.

Host-dependent variables would be better (at some point, not
in this particular patch) moved/left to configure.host
instead. Those are supposedly bits that are necessary even if
the native target backend is not included in the build.

If the native target backends of gdb and gdbserver were already fully
shared, then configure.nat would be shared, while gdb/configure.host
would not.

See also:
https://sourceware.org/gdb/wiki/Internals%20Adding-a-New-Host
https://sourceware.org/gdb/wiki/Internals%20Native-Debugging

(/me mutters something about wikified internals manual being hard
to search and browse.)

Thanks,
Pedro Alves