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]
Other format: [Raw text]

Enable frame-base before frame-unwind?


Here's a new theory on how to migrate to the unwind code:

Enable frame-base before frame-unwind.

Why? The frame-unwind code can't be enabled until frame-base is working anyway. Since frame-base is an almost direct replacement for FRAME_LOCALS_ADDRESS and FRAME_ARGS_ADDRESS, and the return values for the old/new methods are the same, I think getting frame-base working is going to be much easier than getting frame-unwind working. Since frame-base and frame-unwind share the prologue analysis code, debugging it with the less harmful frame-base should make life easier.

Any one want to prove the theory?
Andrew


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