Default gdb_bfd_open's fd parameter to -1
[deliverable/binutils-gdb.git] / gdb / build-id.c
index 6e1f8b0f0cc56d45b2f409d8f26116eb6f9a4a4b..2f1afbd8e18a8810ac986ea2d75739fa9d9329eb 100644 (file)
@@ -94,7 +94,7 @@ build_id_to_debug_bfd_1 (const std::string &link, size_t build_id_len,
     }
 
   /* We expect to be silent on the non-existing files.  */
-  gdb_bfd_ref_ptr debug_bfd = gdb_bfd_open (filename.get (), gnutarget, -1);
+  gdb_bfd_ref_ptr debug_bfd = gdb_bfd_open (filename.get (), gnutarget);
 
   if (debug_bfd == NULL)
     {
This page took 0.034659 seconds and 4 git commands to generate.