commit | e73434e38f55e21cc33457ce3b218fa7b4592fec | [log] [tgz] |
---|---|---|
author | Tom Tromey <tromey@adacore.com> | Tue May 03 08:18:14 2022 -0600 |
committer | Tom Tromey <tromey@adacore.com> | Tue Jun 14 09:08:29 2022 -0600 |
tree | e3e443b6bbd889dc8cc9ff321a946a09052dbdd4 | |
parent | 2808125fbb5f9c55f52e863283b7f1c5f0ef1a65 [diff] |
Reimplement ravenscar registers using tables Currently, the ravenscar-thread implementation for each architecture is written by hand. However, these are actually written by copy-paste. It seems better to switch to a table-driven approach. The previous code also fetched all registers whenever any register was requested. This is corrected in the new implementation.