Mail Archives: djgpp/2000/07/08/02:32:26
> From: Jonathan & Sylvia Brogdon <brogdon AT austin DOT rr DOT com>
> Newsgroups: comp.os.msdos.djgpp
> Date: Sat, 08 Jul 2000 02:29:33 GMT
>
> This message is to announce the release of a GDB stub port for DJGPP.
> The GDB stub may be used to debug remote DJGPP targets over a serial
> line with GDB.
Thanks for making this happen!
Hmm... Browsing through the sources, it looks like the implementation
doesn't use the DJGPP debug support routines (in libdbg.a from
djdev203.zip) at all, and instead does everything on its own. Is that
true?
If so, perhaps it would be better either to use libdbg.a functions, at
least those in dbgcom.c which load the debuggee and allow it to run,
or borrow some of the code from there. The code in dbgcom.c has
several useful features that might make sense in the stub case, such
as true exception handling, hardware breakpoints/watchpoints support,
the ability to restart the debuggee without exiting the debugging
session, support for FP registers, etc.
Also, I see that the debugged program needs to be linked with
libgdb.a. Why is this required? libgdb.a is quite a large library,
so this would make for a very large executable, I think, whereas
remote debugging is supposed to keep the target part lean and mean...
- Raw text -