Regressions problem (200 failures)

Peter.Schauer Peter.Schauer@regent.e-technik.tu-muenchen.de
Thu Mar 2 02:11:00 GMT 2000


> > I think GCC shouldn't put out any line notes for the prologue in the
> > first place.  That's what's causing the problem, indirectly.  Does GDB
> > require a line note in the prologue, or can we wait until the first
> > bit of real code?
> 
> GDB expects the first line number to be for the real code (unless
> something has changed, or I'm remembering it wrong or something - I
> didn't actually play around with the test cases).

In case it isn't obvious:

What is `real code' ?
The initialization of local variables, is it considered part of the
prologue or real code ?

For practical debugging purposes (especially C++), the line number
information (and thus the breakpoint) has to be put before the initialization
code for local variables, so that we can debug object initialization.

-- 
Peter Schauer			pes@regent.e-technik.tu-muenchen.de


More information about the Gdb mailing list