aboutsummaryrefslogtreecommitdiff
path: root/gdb/mips-linux-tdep.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2022-08-08 10:41:43 -0600
committerTom Tromey <tromey@adacore.com>2022-09-20 12:25:19 -0600
commit9e468e953cd2f605a3f51d6ef6532e46b8fdd7b4 (patch)
tree2368c5b3ea5ed2f5aa78b92c384186f3290763b2 /gdb/mips-linux-tdep.c
parent5898c79ae692ed02dd9267888541b352423a9331 (diff)
downloadgdb-9e468e953cd2f605a3f51d6ef6532e46b8fdd7b4.zip
gdb-9e468e953cd2f605a3f51d6ef6532e46b8fdd7b4.tar.gz
gdb-9e468e953cd2f605a3f51d6ef6532e46b8fdd7b4.tar.bz2
Move solib_ops into gdbarch
This changs solib_ops to be an ordinary gdbarch value and updates all the uses. This removes a longstanding FIXME and makes the code somewhat cleaner as well.
Diffstat (limited to 'gdb/mips-linux-tdep.c')
-rw-r--r--gdb/mips-linux-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/mips-linux-tdep.c b/gdb/mips-linux-tdep.c
index ca313a2..7dae1ca 100644
--- a/gdb/mips-linux-tdep.c
+++ b/gdb/mips-linux-tdep.c
@@ -1594,7 +1594,7 @@ mips_linux_init_abi (struct gdbarch_info info,
mips_svr4_so_ops.in_dynsym_resolve_code
= mips_linux_in_dynsym_resolve_code;
}
- set_solib_ops (gdbarch, &mips_svr4_so_ops);
+ set_gdbarch_so_ops (gdbarch, &mips_svr4_so_ops);
set_gdbarch_write_pc (gdbarch, mips_linux_write_pc);