commit | 2063681a381c2b582f811d47658f7383b85ac21a | [log] [tgz] |
---|---|---|
author | Tankut Baris Aktemur <tankut.baris.aktemur@intel.com> | Thu Jan 09 13:45:51 2025 +0100 |
committer | Tankut Baris Aktemur <tankut.baris.aktemur@intel.com> | Thu Jan 09 13:45:51 2025 +0100 |
tree | f9c6d2d559a6d6fc085d75f40b2398db0e4561fe | |
parent | dabe45ce0c3b5a04029164646024e7c99d4b8649 [diff] |
gdbserver: introduce and use regcache::set_register_status Introduce and use a setter method in regcache to set the status of a register. There already exists get_register_status. So, it made sense to add the setter to control access to the register_status field. In two places, we also do cosmetic improvements to for-loops. Approved-By: Simon Marchi <simon.marchi@efficios.com>