delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/06/05/06:24:25

Date: Tue, 5 Jun 2001 13:24:07 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Scott Sinclair <scott DOT sinclair AT umgeni DOT co DOT za>
cc: djgpp AT delorie DOT com
Subject: Re: RHIDE debugger bug
In-Reply-To: <F6E7432DD437D511AD92009027C3AAC47A813D@headoffice.umgeni.co.za>
Message-ID: <Pine.SUN.3.91.1010605132000.2271B-100000@is>
MIME-Version: 1.0
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

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.

- Raw text -


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