This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] configure: Re-disable building cross-gdbserver
- From: "Maciej W. Rozycki" <macro at wdc dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: Tom Tromey <tom at tromey dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>, "binutils at sourceware dot org" <binutils at sourceware dot org>
- Date: Thu, 13 Feb 2020 23:48:09 +0000 (GMT)
- Subject: Re: [PATCH] configure: Re-disable building cross-gdbserver
- Ironport-sdr: oUs6i0bbLg+zLAt2m4InFhrCHoUJBFIUoZEd1kV86L36mMUHLbjTOATxrWx3yMPHSBGE07WbDt KxlRdqY3IH5JZ/pIjeGjd+qo9C9euCrzhaK7awLtBx+BskenwU0DOIQg4pCdfEKNWRSs5NAixo onY7E0hoNeBqxktObnTEOeGiP2lLM4IApAdsQMs4NoHUOiSGwXRIHe7yy1NpXpWHL6DN68mXXG t7X/2o1w/sPrzYB1cdbXvA4sT/3wnfpHBZtF8sCrwwu37fV0qt2ksxG1BdNEEHo1iqZ/XtV+BW qBQ=
- Ironport-sdr: Ymf42nbldreNF/idJwti0xFxrI00SUM2eaybGhE0hY0kebvr1bN1gABOdOuzDODW5ZJalWzWP/ 5OsZEpvILasxsZvcqTqEKsy3ks5vLWz2oTrDl/Tp7RU+eKdgyV7+TpFlwVxU4WcbAaO7IyIfhr cuDMSQHlhVg40Z9Fbe45/6u6JCnHbqtUWrq8iEtyq+B8JGaPGIsPbjtvznu6fRZPpOvAjZ+VHK gtzfvLPXzqt1GtAmd4wpCK0zh0efjzUojyDHc6K6/7xqHyZ7N16TruT+vBk0r/S+OPoCVxmPi8 VB9t97lULyG9+Afk2lTYnSxi
- Ironport-sdr: k80GSDcXwbQoTzKS4R3wf7sH+e9W3S8sILd6sTvcP49jK+mvOpkh3Op5Zh9Ot1XovMGUyxuvzS Y5+WRDPSGOJjagOjw6M2pM2rm8BmYFQswAjn9ov1u0XywiZ8a8NK58gUZyiZDb3P0wvbfr7qA6 fttFvdXiH2XKpugUc2FO5GWVN+bPBkPY4iLXiuMIq0pnmuVcYKyxzriL9K+OaFaNQN+kIf1WMT MM/xPHMoE8nP1w2fy+oqIvLLo1lr3tMec22JK+idb+rYaIdsJV8k6nksX6vki41dSc1g/ATl2B Sf4=
- References: <alpine.LFD.2.21.2002081532520.18621@redsun52.ssa.fujisawa.hgst.com> <87a75p9mg9.fsf@tromey.com> <alpine.LFD.2.21.2002112049060.18621@redsun52.ssa.fujisawa.hgst.com> <23ccb2bf-7e7a-3896-cc87-fd5398a158ca@redhat.com>
- Wdcironportexception: Internal
On Wed, 12 Feb 2020, Pedro Alves wrote:
> > That's actually quite similar to what I considered first, before I
> > changed my mind. Whatever.
>
> Doing it in gdbserver/ has the advantage that it stays under gdbserver's
> control, so it doesn't need syncing code with the gcc tree. I know of at
> least one off-tree port that uses gdbserver in a host != target scenario,
> so I imagine that this condition will evolve over time.
Sure, that makes sense to me.
> > case "${host}" in
> > + ${target})
> > + gdbserver_host=${host}
> > + ;;
> > + *)
> > + gdbserver_host=NONE
> > + ;;
> if/else reads more to-the-point to me, so I tweaked it that
> way, and merged it in (to binutils-gdb), like below.
Great, thanks for handling this!
> I'm sorry for not noticing your earlier patch.
No worries, I'm glad we've got this sorted.
Maciej