[PATCH v2 05/11] gdbserver: convert free_register_cache into a destructor of regcache

Simon Marchi simon.marchi@efficios.com
Tue Jan 7 04:54:27 GMT 2025



On 2024-12-30 05:49, Tankut Baris Aktemur wrote:
> 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>

Simon


More information about the Gdb-patches mailing list