aboutsummaryrefslogtreecommitdiff
path: root/gdb/xml-support.h
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2020-09-14 22:28:42 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2020-09-14 22:28:42 -0400
commitd2b31b672955162463cd47bdb28baf2687bebe28 (patch)
tree42ae1f1000d747df74b0b2e64bb98f80c39b407d /gdb/xml-support.h
parent3246bd8ec50fa312403a8629bcad798a1dbbbc0f (diff)
downloadgdb-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 'gdb/xml-support.h')
0 files changed, 0 insertions, 0 deletions