aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdb_bfd.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2023-08-24 09:25:10 -0600
committerTom Tromey <tromey@adacore.com>2023-09-28 10:46:38 -0600
commit4ef9b04fa6c7669ca1deb8f725e5c5f904d3415a (patch)
tree80421a68630644901622b53609076362b93ac148 /gdb/gdb_bfd.h
parente537ccc211c8d1d91d5210ab0928233c9d52a6c4 (diff)
downloadgdb-4ef9b04fa6c7669ca1deb8f725e5c5f904d3415a.zip
gdb-4ef9b04fa6c7669ca1deb8f725e5c5f904d3415a.tar.gz
gdb-4ef9b04fa6c7669ca1deb8f725e5c5f904d3415a.tar.bz2
Remove old gdb_bfd_openr_iovec
This removes the old gdb_bfd_openr_iovec entirely. I think any new code should use the type-safe approach. Reviewed-By: Lancelot Six <lancelot.six@amd.com>
Diffstat (limited to 'gdb/gdb_bfd.h')
-rw-r--r--gdb/gdb_bfd.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/gdb/gdb_bfd.h b/gdb/gdb_bfd.h
index ae374f5..604365b 100644
--- a/gdb/gdb_bfd.h
+++ b/gdb/gdb_bfd.h
@@ -181,24 +181,6 @@ using gdb_iovec_opener_ftype
gdb_bfd_ref_ptr gdb_bfd_openr_iovec (const char *filename, const char *target,
gdb_iovec_opener_ftype open_fn);
-/* A wrapper for bfd_openr_iovec that initializes the gdb-specific
- reference count. */
-
-gdb_bfd_ref_ptr gdb_bfd_openr_iovec (const char *filename, const char *target,
- void *(*open_func) (struct bfd *nbfd,
- void *open_closure),
- void *open_closure,
- file_ptr (*pread_func) (struct bfd *nbfd,
- void *stream,
- void *buf,
- file_ptr nbytes,
- file_ptr offset),
- int (*close_func) (struct bfd *nbfd,
- void *stream),
- int (*stat_func) (struct bfd *abfd,
- void *stream,
- struct stat *sb));
-
/* A wrapper for bfd_openr_next_archived_file that initializes the
gdb-specific reference count. */