This is the mail archive of the gdb-patches@sources.redhat.com 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: [RFA] Type cleanups


> 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?

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.

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


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