delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/18/06:31:41

Date: Tue, 18 Mar 1997 14:09:54 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Jiri Kubicek <kubicek AT server-y DOT sh DOT cvut DOT cz>
cc: djgpp AT delorie DOT com
Subject: Re: Emacs GDB session problem
In-Reply-To: <332C5919.70A4@server-y.sh.cvut.cz>
Message-ID: <Pine.SUN.3.91.970318140913.17465D-100000@is>
MIME-Version: 1.0

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019