Convert solib-rocm to new type-safe gdb_bfd_openr_iovec
authorTom Tromey <tromey@adacore.com>
Thu, 24 Aug 2023 15:23:46 +0000 (09:23 -0600)
committerTom Tromey <tromey@adacore.com>
Thu, 28 Sep 2023 16:46:38 +0000 (10:46 -0600)
commite537ccc211c8d1d91d5210ab0928233c9d52a6c4
treec5da9b78a9756191ff67f5c25affd6af5a9de0cd
parentd1f50898e1394af6b29d84ae07038054541a0d10
Convert solib-rocm to new type-safe gdb_bfd_openr_iovec

This converts the solib-rocm BFD iovec implementations to the new
type-safe gdb_bfd_openr_iovec.  They were already essentially using
this approach, just without the type-safe wrapper.

Thanks to Lancelot Six for testing and fixing this patch.

Co-Authored-By: Lancelot Six <lancelot.six@amd.com>
Acked-by: Lancelot Six <lancelot.six@amd.com>
Reviewed-By: Lancelot Six <lancelot.six@amd.com>
gdb/solib-rocm.c