Mail Archives: djgpp-workers/2000/02/29/14:23:35
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 -