diff options
author | Tom Tromey <tromey@adacore.com> | 2020-02-14 09:24:42 -0700 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2020-02-14 12:38:04 -0700 |
commit | 8084e579e114e607cb65482c43566e2c5c844bf6 (patch) | |
tree | c0edbce2fa66e260c02c6d50cc8e9a41a8e7448a /gdb/arch | |
parent | 07d9838745fa0fcd4e4a92a090bdc467ff12cf0a (diff) | |
download | gdb-8084e579e114e607cb65482c43566e2c5c844bf6.zip gdb-8084e579e114e607cb65482c43566e2c5c844bf6.tar.gz gdb-8084e579e114e607cb65482c43566e2c5c844bf6.tar.bz2 |
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.
Diffstat (limited to 'gdb/arch')
0 files changed, 0 insertions, 0 deletions