This is the mail archive of the gdb@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]

Re: Integrating DWARF2 CFA info




On Thu, 10 May 2001, Andrew Cagney wrote:

> > Well, actually, IMHO, it is.
> > The CFA info gives us the location of all saved registers for the entire
> > procedure.
> > It's always correct, even in the presence of optimization.
> > Given the pc for the frame, it can tell you exactly where all the saved
> > registers are, at that particular point in time.
> > Therefore, it is strictly better to use the CFA info, than scan the
> > instructions.
> >
> > So I see a strict hiearchy of what to use:
> > Dwarf2 CFA Info
> > <whatever else>
>
> This assumes that dwarf2 info is more correct than some other sort of info.

Which it is, as I've shown.
It will always be correct.
If not, the compiler is broken.

>
> 	Andrew
>


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