This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Enable frame-base before frame-unwind?
- From: Andrew Cagney <ac131313 at redhat dot com>
- To: gdb at sources dot redhat dot com
- Date: Wed, 25 Jun 2003 11:42:41 -0400
- Subject: 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