From: pavenis AT lanet DOT lv To: "Eli Zaretskii" , djgpp AT delorie DOT com, hfj AT gmx DOT de (Joe H) Date: Thu, 1 Mar 2001 17:17:13 +0200 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: rhide/gdb debugging problem Message-ID: <3A9E8419.5944.654070@localhost> In-reply-to: <7458-Tue27Feb2001204853+0200-eliz@is.elta.co.il> References: <3a9bc8a8 DOT 5310643 AT News DOT CIS DOT DFN DOT DE> (hfj AT gmx DOT de) X-mailer: Pegasus Mail for Win32 (v3.12c) Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On 27 Feb 2001, at 20:48, Eli Zaretskii wrote: > > From: hfj AT gmx DOT de (Joe H) > > Newsgroups: comp.os.msdos.djgpp > > Date: Tue, 27 Feb 2001 15:38:13 GMT > > > > running a fresh compiled programm in single stepping (trace into) mode works > > correct, but after some passes I get the message > > > > "error accessing memory adress 0x15d8: Permission denied (EACCES)" > > > > from the GDB output window and it runs still the entire programm at once. > > When I rebuild now the programm, the GDB window says > > > > "warning: cannot close "c/:djgpp/project/t88.exe: Bad file descriptor > > (EBADF) > > Is it possible that you are trying to recompile/relink the program > while it is still being debugged? RHIDE should close debugging session when one is trying to recompile or relink the program. Currently I was not able to reproduce such bad behaviour (failure to write new executable) quickly with 1.4.7.8 under Win98SE. But I remeber similar problems with debugging (cannot access memory) but it was much more seldom than mentioned above. I didn't have time to find why this happens. Bat as I said it happens rather seldom for me. Andris