This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [toplevel patch] Remove bogus conditional
- From: DJ Delorie <dj at redhat dot com>
- To: neroden at twcny dot rr dot com
- Cc: gcc-patches at gcc dot gnu dot org, binutils at sources dot redhat dot com, gdb-patches at sources dot redhat dot com
- Date: Mon, 9 Jun 2003 22:04:14 -0400
- Subject: Re: [toplevel patch] Remove bogus conditional
- References: <20030610015429.GA11332@doctormoo>
> Here's the curious thing. The case this is designed for was unchanged
> by the typo. (The case where host_canonical != build_canonical. With
> the typo, host_canon*ci*al != build_canonical, so it still executes.)
Doh! I saw the $(foo) in a shell-looking thing and thought the typo
was that it should have been ${foo}.
Given what you say, the patch is ok.
> At the moment, I can't test a cross-built native properly 'cause I can't
> find any which ever worked quite right for me. :-( But that's the
> case where I never changed anything here!
The usual host I use for such cases is cygwin, which is the only host
I know of which is self-contained in uberbaum. It's possible to
cross-host DJGPP as well, but it's not self-contained and quite a bit
trickier.