]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb/solib: use solib::ops for operations that concern a single solib
authorSimon Marchi <simon.marchi@efficios.com>
Mon, 16 Jun 2025 19:33:02 +0000 (15:33 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Thu, 26 Jun 2025 18:08:31 +0000 (14:08 -0400)
commitaff04ed34f5da8bad080c88c9a1229f5be2e1a5b
tree3f39f96347fd62c1b80651a2c2e7ce7947b50264
parentf643d36e9f82946efc9676b73be037ecfafb895a
gdb/solib: use solib::ops for operations that concern a single solib

For operations that concern a single solib, use the solib_ops backlink
added in the previous patch (solib::ops), instead of using the solib_ops
from the gdbarch.  This is a small / easy step towards not using
gdbarch_so_ops, which is necessary for the C++ification patch later in
this series.

There is no change in behavior expected.

Change-Id: If80e9ea717a2788bada1cf0940cda3c73933bcff
Approved-By: Pedro Alves <pedro@palves.net>
gdb/solib.c