I noticed that gdb_bfd_fdopenr is no longer used, so this patch
removes it. Tested by rebuilding and by grep.
gdb/ChangeLog
2019-03-05 Tom Tromey <tromey@adacore.com>
* gdb_bfd.c (gdb_bfd_fdopenr): Remove.
* gdb_bfd.h (gdb_bfd_fdopenr): Don't declare.
+2019-03-05 Tom Tromey <tromey@adacore.com>
+
+ * gdb_bfd.c (gdb_bfd_fdopenr): Remove.
+ * gdb_bfd.h (gdb_bfd_fdopenr): Don't declare.
+
2019-03-05 Tom Tromey <tromey@adacore.com>
* windows-nat.c (windows_nat_target::attach)
gdata->included_bfds.push_back (gdb_bfd_ref_ptr::new_reference (includee));
}
-/* See gdb_bfd.h. */
-
-gdb_bfd_ref_ptr
-gdb_bfd_fdopenr (const char *filename, const char *target, int fd)
-{
- bfd *result = bfd_fdopenr (filename, target, fd);
-
- return gdb_bfd_ref_ptr::new_reference (result);
-}
-
\f
gdb_static_assert (ARRAY_SIZE (_bfd_std_section) == 4);
gdb_bfd_ref_ptr gdb_bfd_openr_next_archived_file (bfd *archive, bfd *previous);
-/* A wrapper for bfd_fdopenr that initializes the gdb-specific
- reference count. */
-
-gdb_bfd_ref_ptr gdb_bfd_fdopenr (const char *filename, const char *target,
- int fd);
\f