This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC/RFA?] Should break FILE:LINENO skip prologue?
> Date: Fri, 11 Jan 2008 23:07:13 +0200
> From: Eli Zaretskii <eliz@gnu.org>
>
> > Date: Fri, 11 Jan 2008 10:21:36 -0800
> > From: Joel Brobecker <brobecker@adacore.com>
> > Cc: gdb-patches@sourceware.org
> >
> > Andreas, Eli, have your concerns been answered too? Just to recap,
> > the proposal is the following. Considering the following code:
> >
> > 1. int
> > 2. my_procedure (...)
> > 3. {
> > 4. int local1 = ...;
> > 5. int local2 = ...;
> > 6. ...
> >
> > The idea is that inserting a breakpoint on line 2 or 3 would be
> > equivalent to breaking on "my_procedure", which means that the
> > actual location will be line 4 (before the locals assignment
> > take place).
>
> Actually, I didn't have concern regarding your original patch, but now
> that Mark raised the issue, I'm not sure what about his concerns.
> Suppose I do want to step through the function prolog -- how would I
> accomplish that after your changes?
Like you always did: break *my_procedure