diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2020-09-14 22:28:42 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2020-09-14 22:28:42 -0400 |
commit | d2b31b672955162463cd47bdb28baf2687bebe28 (patch) | |
tree | 42ae1f1000d747df74b0b2e64bb98f80c39b407d /gas/config | |
parent | 3246bd8ec50fa312403a8629bcad798a1dbbbc0f (diff) | |
download | gdb-d2b31b672955162463cd47bdb28baf2687bebe28.zip gdb-d2b31b672955162463cd47bdb28baf2687bebe28.tar.gz gdb-d2b31b672955162463cd47bdb28baf2687bebe28.tar.bz2 |
gdb: introduce debuginfod_client_up type
Introduce and use a unique pointer specialization for the
debuginfod_client type. The deleter calls debuginfod_end to free the
client.
gdb/ChangeLog:
* debuginfod-support.c (debuginfod_client_deleter): New.
(debuginfod_client_up): New.
(debuginfod_init): Return debuginfod_client_up.
(debuginfod_source_query): Adjust.
(debuginfod_debuginfo_query): Adjust.
Change-Id: Ie56441e123ab80b78e5311c824c162cd804f68c0
Diffstat (limited to 'gas/config')
0 files changed, 0 insertions, 0 deletions