delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/07/08/19:37:27

From: Martin Str|mberg <ams AT speedy DOT ludd DOT luth DOT se>
Subject: Re: gdb hangs in shell from Emacs
Newsgroups: comp.os.msdos.djgpp
References: <86e34513 DOT 0207081349 DOT 767f0af AT posting DOT google DOT com>
User-Agent: tin/1.4.4-20000803 ("Vet for the Insane") (UNIX) (NetBSD/1.5_BETA (alpha))
Message-ID: <1026169368.617766@queeg.ludd.luth.se>
Cache-Post-Path: queeg.ludd.luth.se!unknown AT speedy DOT ludd DOT luth DOT se
X-Cache: nntpcache 2.4.0b5 (see http://www.nntpcache.org/)
Date: 08 Jul 2002 23:02:48 GMT
Lines: 33
NNTP-Posting-Date: 08 Jul 2002 23:02:48 GMT
NNTP-Posting-Host: queeg.ludd.luth.se
X-Trace: 1026169368 news.luth.se 464 130.240.16.109
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Nelson Fleet <roadraat AT aol DOT com> wrote:
: I'm not sure if this post is more appropriate for the Emacs newsgroup
: or this one...

I think this is not the wrong group.

: I use DJGPP on Win98.   I'm getting started with GDB using version
: 5.1.1.  It seems to work fine when I run it under a DOS prompt.

: However, I mostly use Emacs 21.2.1 as my development environment, and
: GDB hangs.  I run a shell command and get a DOS command line in Emacs.
:  I run a little dos batch script to set my path to start in the
: djgpp\bin directory and to set the DJGPP environment variable to
: djgpp.env.

: I've always been able to compile C source code, so I know things are
: set up alright for that, but now I want to use the debugger.  If I
: start a gdb session on a file compiled for debugging I get a (gdb)
: prompt, but if I issue any command Emacs hangs.  I can quit the
: command and move to another window, but the file is never unlocked, so
: I can't get to it from elsewhere.  Eventually, I have to reboot.

: Again, it works right from an ordinary DOS command window, just not
: when I use the DOS prompt under Emacs.  Any ideas?

Simple. DOZE is a single-tasking OS. That have never worked in DJGPP.

You just have to get used to running gdb outside emacs.


Right,

						MartinS

- Raw text -


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