aboutsummaryrefslogtreecommitdiff
path: root/gdb/build-id.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/build-id.h')
-rw-r--r--gdb/build-id.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/build-id.h b/gdb/build-id.h
index 6826807..137d9e1 100644
--- a/gdb/build-id.h
+++ b/gdb/build-id.h
@@ -20,6 +20,8 @@
#ifndef BUILD_ID_H
#define BUILD_ID_H
+#include "gdb_bfd.h"
+
/* Locate NT_GNU_BUILD_ID from ABFD and return its content. */
extern const struct bfd_build_id *build_id_bfd_get (bfd *abfd);
@@ -35,8 +37,8 @@ extern int build_id_verify (bfd *abfd,
return NULL. The returned reference to the BFD must be released by
the caller. */
-extern bfd *build_id_to_debug_bfd (size_t build_id_len,
- const bfd_byte *build_id);
+extern gdb_bfd_ref_ptr build_id_to_debug_bfd (size_t build_id_len,
+ const bfd_byte *build_id);
/* Find the separate debug file for OBJFILE, by using the build-id
associated with OBJFILE's BFD. If successful, returns a malloc'd