Default gdb_bfd_open's fd parameter to -1
[deliverable/binutils-gdb.git] / gdb / compile / compile-object-load.c
index 55a46a31dba3a31b0b2bf3401f22d1b13d6836f4..76a9418dac0e6b5c99e69383105770f6a0025488 100644 (file)
@@ -604,7 +604,7 @@ compile_object_load (const compile_file_names &file_names,
   gdb::unique_xmalloc_ptr<char> filename
     (tilde_expand (file_names.object_file ()));
 
-  gdb_bfd_ref_ptr abfd (gdb_bfd_open (filename.get (), gnutarget, -1));
+  gdb_bfd_ref_ptr abfd (gdb_bfd_open (filename.get (), gnutarget));
   if (abfd == NULL)
     error (_("\"%s\": could not open as compiled module: %s"),
           filename.get (), bfd_errmsg (bfd_get_error ()));
This page took 0.024113 seconds and 4 git commands to generate.