diff options
author | Tim Wiederhake <tim.wiederhake@intel.com> | 2017-05-30 12:47:37 +0200 |
---|---|---|
committer | Tim Wiederhake <tim.wiederhake@intel.com> | 2017-05-30 12:49:25 +0200 |
commit | 17b89b34b8d7a5a8b713c92a9ebe689c6edd6798 (patch) | |
tree | 40ed5f9a97eb2f061f5520743ef78e81735a561d /gdb/filesystem.c | |
parent | 2b51eddc5503ea84d48c5b3b3ec3388eba440451 (diff) | |
download | gdb-17b89b34b8d7a5a8b713c92a9ebe689c6edd6798.zip gdb-17b89b34b8d7a5a8b713c92a9ebe689c6edd6798.tar.gz gdb-17b89b34b8d7a5a8b713c92a9ebe689c6edd6798.tar.bz2 |
btrace: Transfer ownership of pointers.
Directly insert new btrace_function pointers into the vector and have the
vector own these pointers. This allows us to later retrieve these objects by
their number directly after creation whereas at the moment we have to wait
until the vector is fully populated.
This requires to pull btrace_thread_info through different functions but
cleans up the code for freeing the trace.
Diffstat (limited to 'gdb/filesystem.c')
0 files changed, 0 insertions, 0 deletions