www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/03/23/20:15:06

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
Message-ID: <3C9D0617.69890CE3@yahoo.com>
From: CBFalconer <cbfalconer AT yahoo DOT com>
Organization: Ched Research
X-Mailer: Mozilla 4.75 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Breakpoints crazy?
References: <Oh6n8.62328$%g7 DOT 1987589 AT twister2 DOT libero DOT it>
Lines: 22
Date: Sat, 23 Mar 2002 22:49:03 GMT
NNTP-Posting-Host: 12.90.174.222
X-Complaints-To: abuse AT worldnet DOT att DOT net
X-Trace: bgtnsc05-news.ops.worldnet.att.net 1016923743 12.90.174.222 (Sat, 23 Mar 2002 22:49:03 GMT)
NNTP-Posting-Date: Sat, 23 Mar 2002 22:49:03 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Nirvana wrote:
> 
> I use DJGPP-RHIDE to develop a DOS application but i'm experimenting very
> strange debugging problem.
>
... snip ...
> 
> Someone can explain me why if i run this procedure with some breakpoints it
> seem to go here and there without any apparent reason? It jump some lines,
> then come back, the it invent some cycles and repeat several times the same
> instruction and so on.

Probably because optimization has rearranged the code.  Just turn
it off (remove the -On compile flag, for whatever n you are using,
probably 2).  Put it back when you are satisfied.

-- 
Chuck F (cbfalconer AT yahoo DOT com) (cbfalconer AT XXXXworldnet DOT att DOT net)
   Available for consulting/temporary embedded and systems.
   (Remove "XXXX" from reply address. yahoo works unmodified)
   mailto:uce AT ftc DOT gov  (for spambots to harvest)

- Raw text -


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