Re: [RFA] Type cleanups

Daniel Jacobowitz
2002-05-17T17:21:45Z

On Fri, May 17, 2002 at 07:13:07PM +0300, Eli Zaretskii wrote:
> > Date: Fri, 17 May 2002 11:02:44 -0400
> > From: Daniel Jacobowitz <drow@mvista.com>
> >
> > Cross build, not foreign host build - i.e. an i386-linux -> djgpp cross
> > debugger.
>
> Sorry, I still don't understand: does this mean a remote debugger with
> some stub on the remote DOS/Windows machine? Or maybe the stub (or
> gdbserver) running inside DOSEmu on the GNU/Linux box?

Those are both valid.

> My point is that DJGPP debugging is very special: there's no OS
> provision for system calls like ptrace etc., so the only way to debug
> a DJGPP inferior is to run it natively under a specially built program
> that is linked against the DJGPP debug support library. I'm curious
> how does your cross build achieve that, since I believe neither
> gdbserver nor any of the remote-* modules support DJGPP as of now.

I didn't say it would be useful. But consult MAINTAINERS; everything
listed in the "Targets" section on a --target= line is currently
"expected" to be buildable as a cross debugger, to sanity check
changes. That's all I was doing.

> Do I understand correctly that the build in question uses
> i386/tm-go32.h, and that its definition of JB_PC was the culprit?

Yes.

--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer