This is the mail archive of the gdb@sourceware.org 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: debug_frame for optimized code


You should send questions like this to the dwarf-discuss mailing list:

http://mail.freestandards.org/cgi-bin/mailman/listinfo/dwarf-discuss

Christophe LYON <christophe.lyon@st.com> writes:
> Use remember_state after the prologue, and use restore state at LABEL1
> and LABEL2?
> But as states are defined as a stack, it means I would restore twice the
> same thing...

You could save after the prologue, then restore and immediately
re-save at LABEL1, and then restore at LABEL2.  But I'm not sure this
strategy generalizes too well.


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