From: cberry AT cinenet DOT net (Craig Berry) Newsgroups: comp.os.msdos.djgpp Subject: RHIDE debugging woes Date: 13 Sep 1997 08:18:36 GMT Organization: Cinenet Communications,Internet Access,Los Angeles;310-301-4500 Lines: 86 Message-ID: <5vdi8s$cdm$1@marina.cinenet.net> NNTP-Posting-Host: hollywood.cinenet.net To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Just started using DJGPP -- and love it so far -- but I have this one problem. Full info follows: This is a bug report for RHIDE Version 1.3 (Jun 10 1997 09:23:28) I am running MS-DOS 6.22 (Windows 3.10) Important environment variables: PATH=C:\WINDOWS;C:\DOS;C:\BIN;C:\PERL\BIN;D:\DJGPP\BIN DJGPP=D:\DJGPP\DJGPP.ENV LFN=n INFOPATH=d:/djgpp/info;d:/djgpp/gnu/emacs/info LOCALEDIR= LANGUAGE= SHELL= COMSPEC=C:\COMMAND.COM DJSYSFLAGS= Here is the output from a sample compilation and link for C Reading specs from d:/djgpp/lib\specs gcc version 2.7.2.1 d:/djgpp/bin\cpp.exe -lang-c -v -undef -D__GNUC__=2 -D__GNUC_MINOR__=7 -Dunix -Di386 -DGO32 -DMSDOS -DDJGPP=2 -DDJGPP_MINOR=1 -D__unix__ -D__i386__ -D__GO32__ -D__MSDOS__ -D__DJGPP__=2 -D__DJGPP_MINOR__=1 -D__unix -D__i386 -D__GO32 -D__MSDOS -D__DJGPP=2 -D__DJGPP_MINOR=1 - d:/djgpp/tmp/RHhaaaaa\ccbaaaaa GNU CPP version 2.7.2.1 (80386, BSD syntax) #include "..." search starts here: #include <...> search starts here: d:/djgpp/include d:/djgpp/contrib/grx20/include /usr/local/include /usr/local/go32/include /usr/local/lib/gcc-lib/go32/2.7.2.1/include /usr/include End of search list. d:/djgpp/bin\cc1.exe d:/djgpp/tmp/RHhaaaaa\ccbaaaaa -quiet -dumpbase -.c -version -o d:/djgpp/tmp/RHhaaaaa\cccaaaaa GNU C version 2.7.2.1 (80386, BSD syntax) compiled by GNU C version 2.7.2.1. d:/djgpp/bin\as.exe -v -o d:/djgpp/tmp/RHhaaaaa\ccdaaaaa d:/djgpp/tmp/RHhaaaaa\cccaaaaa GNU assembler version 2.8.1 (i386-pc-msdosdjgpp) d:/djgpp/bin\ld.exe -o /dev/null d:/djgpp/lib\crt0.o -Ld:/djgpp/lib -v d:/djgpp/tmp/RHhaaaaa\ccdaaaaa -Tdjgpp.djl -lgcc -lc -lgcc d:/djgpp/bin\ld.exe: cannot open output file /dev/null: Permission denied (EACCES) GNU ld version 2.8.1 (with BFD 2.8.1) End of the sample Here is the output from a sample compilation and link for C++ Reading specs from d:/djgpp/lib\specs gcc version 2.7.2.1 d:/djgpp/bin\cpp.exe -lang-c++ -v -undef -D__GNUC__=2 -D__GNUG__=2 -D__cplusplus -D__GNUC_MINOR__=7 -Dunix -Di386 -DGO32 -DMSDOS -DDJGPP=2 -DDJGPP_MINOR=1 -D__unix__ -D__i386__ -D__GO32__ -D__MSDOS__ -D__DJGPP__=2 -D__DJGPP_MINOR__=1 -D__unix -D__i386 -D __GO32 -D__MSDOS -D__DJGPP=2 -D__DJGPP_MINOR=1 - d:/djgpp/tmp/RHhaaaaa\ccbaaaaa GNU CPP version 2.7.2.1 (80386, BSD syntax) #include "..." search starts here: #include <...> search starts here: d:/djgpp/lang/cxx d:/djgpp/include d:/djgpp/contrib/grx20/include /usr/local/lib/g++-include /usr/local/include /usr/local/go32/include /usr/local/lib/gcc-lib/go32/2.7.2.1/include /usr/include End of search list. d:/djgpp/bin\cc1plus.exe d:/djgpp/tmp/RHhaaaaa\ccbaaaaa -quiet -dumpbase -.cc -version -o d:/djgpp/tmp/RHhaaaaa\cccaaaaa GNU C++ version 2.7.2.1 (80386, BSD syntax) compiled by GNU C version 2.7.2.1. d:/djgpp/bin\as.exe -v -o d:/djgpp/tmp/RHhaaaaa\ccdaaaaa d:/djgpp/tmp/RHhaaaaa\cccaaaaa GNU assembler version 2.8.1 (i386-pc-msdosdjgpp) d:/djgpp/bin\ld.exe -o /dev/null d:/djgpp/lib\crt0.o -Ld:/djgpp/lib -v d:/djgpp/tmp/RHhaaaaa\ccdaaaaa -Tdjgpp.djl -lgcc -lc -lgcc d:/djgpp/bin\ld.exe: cannot open output file /dev/null: Permission denied (EACCES) GNU ld version 2.8.1 (with BFD 2.8.1) End of the sample My problem is the following: ============================ Any attempt to use interactive debugging in RHIDE (e.g., step or trace) causes an "Unable to read from /dev/null" error dialog; when I click 'OK' for this dialog, perhaps a second passes, then RHIDE exits back to DOS without warning. Any thoughts on what might be up? --------------------------------------------------------------------- | Craig Berry - cberry AT cinenet DOT net --*-- Home Page: http://www.cinenet.net/users/cberry/home.html | Member of The HTML Writers Guild: http://www.hwg.org/ "Every man and every woman is a star."