aboutsummaryrefslogtreecommitdiff
path: root/gdb/source.c
diff options
context:
space:
mode:
authorTankut Baris Aktemur <tankut.baris.aktemur@intel.com>2025-01-29 10:50:30 +0100
committerTankut Baris Aktemur <tankut.baris.aktemur@intel.com>2025-01-29 11:17:34 +0100
commit207bcb60ddeccc2c15a9ae91952e191ba7795fbc (patch)
tree35dfa4ca0aa9ec22f02387df6eb4d4ab3f78d1f0 /gdb/source.c
parentddf8e29147ecf49398544b6d322cfcbdd3ffae34 (diff)
downloadbinutils-207bcb60ddeccc2c15a9ae91952e191ba7795fbc.zip
binutils-207bcb60ddeccc2c15a9ae91952e191ba7795fbc.tar.gz
binutils-207bcb60ddeccc2c15a9ae91952e191ba7795fbc.tar.bz2
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>
Diffstat (limited to 'gdb/source.c')
0 files changed, 0 insertions, 0 deletions