aboutsummaryrefslogtreecommitdiff
path: root/gdb/filesystem.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2018-05-22 18:22:06 +0100
committerPedro Alves <palves@redhat.com>2018-05-22 18:22:06 +0100
commitde44f5a73576b426b32b605e0d5016d4fae9b4b1 (patch)
tree569c12241fe47fd735b4bbffdc3738f754dcddad /gdb/filesystem.c
parentb1b60145aedb8adcb0b9dcf43a5ae735c2f03b51 (diff)
downloadbinutils-de44f5a73576b426b32b605e0d5016d4fae9b4b1.zip
binutils-de44f5a73576b426b32b605e0d5016d4fae9b4b1.tar.gz
binutils-de44f5a73576b426b32b605e0d5016d4fae9b4b1.tar.bz2
remote: struct remote_state, use op new, fix leaks
A bit of C++ification. Also plugs a few leaks, since currently nothing is freeing a few fields of remote_state. They're now freed in the added destructor. gdb/ChangeLog: 2018-05-22 Pedro Alves <palves@redhat.com> (struct vCont_action_support): Use bool and initialize all fields. (struct readahead_cache): Initialize all fields. (remote_state): Use bool and initialize all fields. (remote_state::remote_state, remote_state::~remote_state): New. (new_remote_state): Delete. (_initialize_remote): Use new to allocate remote_state.
Diffstat (limited to 'gdb/filesystem.c')
0 files changed, 0 insertions, 0 deletions