Re: [RFC/RFA?] Should break FILE:LINENO skip prologue?

Daniel Jacobowitz
2008-01-10T15:46:21Z

On Wed, Jan 09, 2008 at 01:04:55PM -0800, Michael Snyder wrote:
> Don't forget my argument about prologue initializations.
> Sometimes those involve function calls. A user might very
> well want to stop AFTER some of those function calls, but
> BEFORE others, so he could step into them.
>
> Especially in C++, where some of them would be constructors.

This argument doesn't apply; local variable initializations are not
part of the function prologue. GCC will attribute them to the lines
on which they were written. Only setting up the stack frame and
saving incoming arguments to the stack are part of the prologue.

--
Daniel Jacobowitz
CodeSourcery