Mail Archives: djgpp/1997/03/18/06:31:41
On Sun, 16 Mar 1997, Jiri Kubicek wrote:
> Did you debug under Emacs ? I have tried compile and debug small Win32
> GUI program using DJGPP and RSXNT. Compiling and GDB debugging is OK,
> but I cannot debug under Emacs.
The Emacs debugging interface isn't supported in the DJGPP port, because
it requires asynchronous processes to work. This is explained in the
MS-DOS chapter of the Emacs manual.
> I have tried NTEMACS and Win-Emacs (from
> Pearl Software) under Windows 95. If breakpoint is hit, emacs-gdb
> connection is lost and it's only possible to kill gdb buffer; running
> program wihout breakpoints succeeds.
I don't know anything about GDB support in these versions of Emacs; I
suggest you post your question to the gnu.emacs.help news group where
such queries are appropriate. However, even if you do get `M-x gud'
to work on those platforms, I doubt if you will be able to debug DJGPP
programs with them, because they probably work only with Win32 ports
of GDB, which doesn't support DJGPP.
> I need not unnecessary debugging Windows programs under Emacs, but IMHO
> command-line GDB interface is too poor and user-unfriendly.
If you need to debug DJGPP programs, you can use RHIDE or RHGDB; see
the DJGPP FAQ list (v2/faq210b.zip from the same place you get DJGPP)
for pointers to these packages and explanation of their features.
- Raw text -