aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdb_bfd.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2019-03-05 09:03:55 -0700
committerTom Tromey <tromey@adacore.com>2019-03-05 09:06:18 -0700
commitedbd9e45a906970852cee1999ab27c18c18a5ff5 (patch)
tree8ba2dfbea6f5ddfd859b7a860d4e929f42419631 /gdb/gdb_bfd.h
parent4933ff73fe8640f77773b13c1ba6b4cc567f8150 (diff)
downloadgdb-edbd9e45a906970852cee1999ab27c18c18a5ff5.zip
gdb-edbd9e45a906970852cee1999ab27c18c18a5ff5.tar.gz
gdb-edbd9e45a906970852cee1999ab27c18c18a5ff5.tar.bz2
Remove gdb_bfd_fdopenr
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.
Diffstat (limited to 'gdb/gdb_bfd.h')
-rw-r--r--gdb/gdb_bfd.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/gdb/gdb_bfd.h b/gdb/gdb_bfd.h
index 507f4e4..87b48f5 100644
--- a/gdb/gdb_bfd.h
+++ b/gdb/gdb_bfd.h
@@ -161,11 +161,6 @@ gdb_bfd_ref_ptr gdb_bfd_openr_iovec (const char *filename, const char *target,
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);