ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/02/29/14:23:35

Sender: root AT delorie DOT com
Message-ID: <38BC18F3.360641B7@inti.gov.ar>
Date: Tue, 29 Feb 2000 16:07:31 -0300
From: salvador <salvador AT inti DOT gov DOT ar>
Organization: INTI
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.0.38 i686)
X-Accept-Language: es-AR, en, es
MIME-Version: 1.0
To: djgpp-workers AT delorie DOT com
Subject: Re: Debugging difficulties with GCC 2.95.2
References: <Pine DOT LNX DOT 4 DOT 10 DOT 10002291457460 DOT 10083-100000 AT acp3bf>
Reply-To: djgpp-workers AT delorie DOT com

Hans-Bernhard Broeker wrote:

> On Tue, 29 Feb 2000, salvador wrote:
>
> > BTW, I see a lot of crazy things using gdb 4.18 (from RHIDE) and gcc 2.95.1,
> > like functions where the first steped line is at the end (small ones) so after
> > steping a little more you go back! and then revisit the line! and was using
> > -gstabs+3, so something is really broken.
>
> This jumping back and forth, in and of itself, does not mean anything is
> broken. During the optimization steps, the compiler may reorder statements
> in a way that makes the debugger step back and forth in the source code.

I agree, but that is not the case! the code isn't ejecuted during the first "pass",
but in the second. And also: is not just another order, you get the impression the
code is ejecuted twice.

SET

--
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Visit my home page: http://welcome.to/SetSoft or
http://www.geocities.com/SiliconValley/Vista/6552/
Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org
                    set AT ieee DOT org set-soft AT bigfoot DOT com
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA Phone: +(5411) 4759 0013



- Raw text -


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