diff options
Diffstat (limited to 'gdb/build-id.c')
-rw-r--r-- | gdb/build-id.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/build-id.c b/gdb/build-id.c index 3a6ebb1..8f7bbb4 100644 --- a/gdb/build-id.c +++ b/gdb/build-id.c @@ -26,6 +26,7 @@ #include "symfile.h" #include "objfiles.h" #include "filenames.h" +#include "gdbcore.h" /* See build-id.h. */ @@ -118,7 +119,7 @@ build_id_to_debug_bfd (size_t build_id_len, const bfd_byte *build_id) continue; /* We expect to be silent on the non-existing files. */ - abfd = gdb_bfd_open_maybe_remote (filename); + abfd = gdb_bfd_open (filename, gnutarget, -1); if (abfd == NULL) continue; |