summaryrefslogtreecommitdiff
path: root/gdb/build-id.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/build-id.c')
-rw-r--r--gdb/build-id.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/build-id.c b/gdb/build-id.c
index 345ed0e196..0c5d65d02a 100644
--- a/gdb/build-id.c
+++ b/gdb/build-id.c
@@ -206,7 +206,7 @@ find_separate_debug_file_by_buildid (struct objfile *objfile)
{
const struct bfd_build_id *build_id;
- build_id = build_id_bfd_get (objfile->obfd);
+ build_id = build_id_bfd_get (objfile->obfd.get ());
if (build_id != NULL)
{
if (separate_debug_file_debug)