[RFC/RFA?] Should break FILE:LINENO skip prologue?
Michael Snyder
msnyder@specifix.com
Thu Jan 10 21:49:00 GMT 2008
On Thu, 2008-01-10 at 10:45 -0500, Daniel Jacobowitz wrote:
> 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.
In that event, my concerns are much alleviated.
;-)
More information about the Gdb-patches
mailing list