www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2008/08/28/04:34:42

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=gamma;
h=domainkey-signature:received:received:message-id:date:from:to
:subject:mime-version:content-type;
bh=4xMSg5B6mk2v+wa4GWOKflExYZl8PmawmitP1XR1B28=;
b=PKl4aGpqLFCHrKUADcWRCZ+xG9tZWeW3iVMWg68y1yRvW0WUUdvIL0V68h5EtzCPoc
6DJPGKJV1Hgpd91kGhl9mdh/1ajJjuMNYsbDv5589MxtIMsCSOOPtnHTLAT1gIgxdIhw
16LFwJVUIwIyGNnrcwJtoFVDbZIRPlozLVXNw=
DomainKey-Signature: a=rsa-sha1; c=nofws;
d=gmail.com; s=gamma;
h=message-id:date:from:to:subject:mime-version:content-type;
b=uFsTT/yxbSNRD+gh2tD+BG2hOe/FJV6ZlPLx/3P1TT2NOBZzic3O8vEWOxI5SVrVZU
aZjDugg/lVxwl7ypKtnlT4dzIsi6ugbF5GTn2b7/EVxopvd4SZFRWCWiy9wZHwvYiX+e
UzTEMXGkuCeol1u1yapYiV+hZgaGViSCzdAqs=
Message-ID: <81d302d80808280111rc65dafenb19fdbc04b5b782a@mail.gmail.com>
Date: Thu, 28 Aug 2008 13:41:35 +0530
From: "Abhijeet Oundhakar" <oundhakar AT gmail DOT com>
To: djgpp AT delorie DOT com
Subject: GDB does not step?
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

------=_Part_576_15092507.1219911095228
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi Gurus,

I'm new to DJGPP (just installed it yesterday). I tried a few test cases:
compiled a very simple program with
gxx -gfstabs+ spring.cpp -o spring.exe

On starting GDB, I put a breakpoint inside a loop which reads a file
(while(!feof(in)) ....). GDB breaks nicely at the breakpoint, but I can't
step! Saying "n" just runs through the entire loop and comes back to the
breakpoint.

On the other hand, an older version of GDB (installed with Dev-C++) gave no
problem at all. Can anyone please help?

Thanks in advance,
Abhi

------=_Part_576_15092507.1219911095228
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi Gurus,<br>&nbsp;<br>I&#39;m new to DJGPP (just installed it yesterday). I tried a few test cases: compiled a very simple program with<br>gxx -gfstabs+ spring.cpp -o spring.exe<br>&nbsp;<br>On starting GDB, I put a breakpoint inside a loop which reads a file (while(!feof(in)) ....). GDB breaks nicely at the breakpoint, but I can&#39;t step! Saying &quot;n&quot; just runs through the entire loop and comes back to the breakpoint.<br>
&nbsp;<br>On the other hand, an older version of GDB (installed with Dev-C++) gave no problem at all. Can anyone please help?<br>&nbsp;<br>Thanks in advance,<br>Abhi

------=_Part_576_15092507.1219911095228--

- Raw text -


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