This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[commit] Add frame_unwind_register(); use to rewrite d10v pop
- From: Andrew Cagney <ac131313 at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Sun, 02 Feb 2003 15:36:54 -0500
- Subject: [commit] Add frame_unwind_register(); use to rewrite d10v pop
Hello,
This patch rewrites the d10v's frame pop code so that it avoids:
- read_register: should be reading the register from the frame
- read_memory: ditto
- register_write: should write to the register cace
- deprecated_write_register_bytes: ditto
To make the rewrite easier, it fills out the frame register unwind
function series so that there are easy to use frame_unwind_register()
and frame_read_register().
Finally, it adds a comment to the older frame_register_read() explaining
why it is so weird. Things to do includes purge that old function.
committed,
Andrew