Enable frame-base before frame-unwind?

Andrew Cagney ac131313@redhat.com
Wed Jun 25 16:51:00 GMT 2003


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



More information about the Gdb mailing list