diff options
Diffstat (limited to 'gdb/source.c')
-rw-r--r-- | gdb/source.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/source.c b/gdb/source.c index 425b02fc3a..3f498d552c 100644 --- a/gdb/source.c +++ b/gdb/source.c @@ -1203,7 +1203,8 @@ open_source_file (struct symtab *s) srcpath += s->filename; } - const struct bfd_build_id *build_id = build_id_bfd_get (ofp->obfd); + const struct bfd_build_id *build_id + = build_id_bfd_get (ofp->obfd.get ()); /* Query debuginfod for the source file. */ if (build_id != nullptr && !srcpath.empty ()) |