Sender: root AT delorie DOT com Message-ID: <38BC18F3.360641B7@inti.gov.ar> Date: Tue, 29 Feb 2000 16:07:31 -0300 From: salvador 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: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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