commit | 8084e579e114e607cb65482c43566e2c5c844bf6 | [log] [tgz] |
---|---|---|
author | Tom Tromey <tromey@adacore.com> | Fri Feb 14 09:24:42 2020 -0700 |
committer | Tom Tromey <tromey@adacore.com> | Fri Feb 14 12:38:04 2020 -0700 |
tree | c0edbce2fa66e260c02c6d50cc8e9a41a8e7448a | |
parent | 07d9838745fa0fcd4e4a92a090bdc467ff12cf0a [diff] |
Return unique_xmalloc_ptr from call_site_find_chain call_site_find_chain returns a pointer that the caller must deallocate. It seemed better here to return a unique_xmalloc_ptr instead. gdb/ChangeLog 2020-02-14 Tom Tromey <tromey@adacore.com> * dwarf2/frame-tailcall.c (dwarf2_tailcall_sniffer_first): Update. * dwarf2/loc.h (call_site_find_chain): Return unique_xmalloc_ptr. * dwarf2/loc.c (call_site_find_chain_1): Return unique_xmalloc_ptr. (call_site_find_chain): Likewise.