This is the mail archive of the gdb-patches@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]

[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


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