Re: [RFC] breakpoints and function prologues...

Jim Blandy
2002-08-16T16:34:16Z

Andrew Cagney <ac131313@ges.redhat.com> writes:
> > Most users I have talked to think that setting a break on the "{" at
> > the beginning of a function means the same thing as setting a
> > breakpoint on the function. But that is not the case. "break
> > funcName" is AFTER the prologue, "break file:<line containing "{">
> > is the true function beginning.
>
> Don't forget that ``break func'' is is going to change. It's going to
> go back to the start of the function!

... but only once GDB uses CFI and location lists to make prologue
identification irrelevant. At that point, we've all agreed, this
debate doesn't matter any more. The issue is what to do until then.

Or are you saying that they should simply wait until that work is
complete? When do we expect it to be complete?