This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [offbyone RFC] Merge i386newframe
I suspect Daniel's answered this. The frame ID needs to be constant through out the lifetime of the frame. Getting that right isn't trivial. However, getting it right can receive a bonus: d10v now passing mips_pro.exp.
You mean the whole ID should be constant or just id.base? If id.pc must be constant as well, it couldn't represent the PC register anymore...
I'm confused.
At present, just the base needs to be constant.
However, to differentiate between two frameless functions, and to
re-find a frameless function, both the frame base and the frame
function's start address need to be compared. GDB doesn't yet do this
and when it does, it may need to refine what that PC value is.
"frame.h" mentions the problem.
Andrew