Message-ID: From: Scott Sinclair To: Eli Zaretskii Cc: djgpp AT delorie DOT com Subject: RE: RHIDE debugger bug Date: Wed, 6 Jun 2001 09:40:02 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Reply-To: djgpp AT delorie DOT com > -----Original Message----- > From: Eli Zaretskii [mailto:eliz AT is DOT elta DOT co DOT il] > Sent: 05 June 2001 12:24 > To: Scott Sinclair > Cc: djgpp AT delorie DOT com > Subject: Re: RHIDE debugger bug > > > > On Tue, 5 Jun 2001, Scott Sinclair wrote: > > > However when a breakpoint is inserted the code returns the following > > """"" > > fopen() allocated the readonly pointer 0 > > > > fopen() allocated the writeonly pointer 590148 > > > > """"" > > I don't have RHIDE installed, but I tried this with GDB (which is the > debugging engine inside RHIDE), and I cannot reproduce the > problem. I > stepped through the program and it worked as expected. > > You omitted many details which might be crucial: how did you > compile the > program (what compiler/linker switches did you use), where > did you put a > breakpoint, etc. Perhaps these are important. > > Also try running the program under GDB and see if the same > problem exists > there or not. If not, this is something specific to RHIDE. > > In any case, I'm not aware of any NT-specific problems with debugging > programs. > Yes it seems to be specific to RHIDE :( I have created the executable using gcc from the command line, and run gdb and even rhgdb (RHIDE version of gdb) without the problem being repeated. I have also repeated this using RHIDE to build the exe, and once again running gdb and rhgdb from the command line. No problem ? But in using rhgdb from RHIDE the problem persists ? Tahnks for your help 8)