From: roadraat AT aol DOT com (Nelson Fleet) Newsgroups: comp.os.msdos.djgpp Subject: gdb hangs in shell from Emacs Date: 8 Jul 2002 14:49:23 -0700 Organization: http://groups.google.com/ Lines: 23 Message-ID: <86e34513.0207081349.767f0af@posting.google.com> NNTP-Posting-Host: 208.249.92.99 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1026164963 8406 127.0.0.1 (8 Jul 2002 21:49:23 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: 8 Jul 2002 21:49:23 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I'm not sure if this post is more appropriate for the Emacs newsgroup or this one... 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? Nelson