This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]