| commit | 207bcb60ddeccc2c15a9ae91952e191ba7795fbc | [log] [tgz] |
|---|---|---|
| author | Tankut Baris Aktemur <tankut.baris.aktemur@intel.com> | Wed Jan 29 10:50:30 2025 +0100 |
| committer | Tankut Baris Aktemur <tankut.baris.aktemur@intel.com> | Wed Jan 29 11:17:34 2025 +0100 |
| tree | 35dfa4ca0aa9ec22f02387df6eb4d4ab3f78d1f0 | |
| parent | ddf8e29147ecf49398544b6d322cfcbdd3ffae34 [diff] |
gdbserver: convert free_register_cache into a destructor of regcache Convert the `free_register_cache` function into a destructor of the regcache struct. In one place, we completely remove the call to free the regcache object by stack-allocating the object. Approved-By: Simon Marchi <simon.marchi@efficios.com>