diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2023-10-10 16:01:08 +0000 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2023-10-19 10:57:51 -0400 |
commit | 200b85632a99e749e14d1c026b7e24c15a5e2776 (patch) | |
tree | fcbe3e2d2cbce7b3c9c1e42359d6f3f1924914ac /gdb/solib-frv.c | |
parent | ae19ef71d2248d588a9f3a5545e1882f696cb86e (diff) | |
download | fsf-binutils-gdb-200b85632a99e749e14d1c026b7e24c15a5e2776.zip fsf-binutils-gdb-200b85632a99e749e14d1c026b7e24c15a5e2776.tar.gz fsf-binutils-gdb-200b85632a99e749e14d1c026b7e24c15a5e2776.tar.bz2 |
gdb: make so_list::abfd a gdb_bfd_ref_ptr
Change the field from a `bfd *` to a gdb_bfd_ref_ptr to automatically
manage the reference.
Change-Id: I3ace18bea985bc194c5e67bb559eec567e258950
Approved-By: Pedro Alves <pedro@palves.net>
Reviewed-By: Reviewed-By: Lancelot Six <lancelot.six@amd.com>
Diffstat (limited to 'gdb/solib-frv.c')
-rw-r--r-- | gdb/solib-frv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/solib-frv.c b/gdb/solib-frv.c index 5cbab14..2ed6280 100644 --- a/gdb/solib-frv.c +++ b/gdb/solib-frv.c @@ -920,7 +920,7 @@ frv_fdpic_find_canonical_descriptor (CORE_ADDR entry_point) auto *li = gdb::checked_static_cast<lm_info_frv *> (so->lm_info.get ()); addr = find_canonical_descriptor_in_load_object - (entry_point, got_value, name, so->abfd, li); + (entry_point, got_value, name, so->abfd.get (), li); if (addr != 0) break; |