This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFA: Support Windows extended error numbers in safe_strerror
> Date: Sun, 5 Feb 2006 15:20:27 -0500
> From: Daniel Jacobowitz <drow@false.org>
> Cc: Jim Blandy <jimb@red-bean.com>, gdb-patches@sourceware.org
>
> > Reality check: how many other non-embedded platforms have their cross-
> > and native targets separated?
>
> Could you clarify what you mean by this? As far as I can interpret it,
> the answer is "every".
``Separated'' as in ``not in the same executable''.
> > > Also, the kinds of things needed to host GDB on a platform are best
> > > kept partitioned away from the stuff needed for doing native target
> > > debugging, simply as a matter of design. It's a simple matter of
> > > separation of concerns.
> >
> > Then please explain why do we compile ser-unix.c with native Unix
> > targets, and ser-go32.c with the DJGPP native target.
>
> I'd call that a perfect example of Jim's point.
It's also a perfect example of my point: cross-debugger is usually
part of the same build as the native one.
Anyway, I'm not interested in continuing this discussion. I hoped we
could have a separate MinGW target, native and otherwise, but since it
looks like there's no agreement, let's move on.