This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]