diff options
author | Tom Tromey <tromey@adacore.com> | 2022-08-08 10:41:43 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2022-09-20 12:25:19 -0600 |
commit | 9e468e953cd2f605a3f51d6ef6532e46b8fdd7b4 (patch) | |
tree | 2368c5b3ea5ed2f5aa78b92c384186f3290763b2 /gdb/amd64-darwin-tdep.c | |
parent | 5898c79ae692ed02dd9267888541b352423a9331 (diff) | |
download | gdb-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/amd64-darwin-tdep.c')
-rw-r--r-- | gdb/amd64-darwin-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/amd64-darwin-tdep.c b/gdb/amd64-darwin-tdep.c index 7fc3553..718bf49 100644 --- a/gdb/amd64-darwin-tdep.c +++ b/gdb/amd64-darwin-tdep.c @@ -113,7 +113,7 @@ x86_darwin_init_abi_64 (struct gdbarch_info info, struct gdbarch *gdbarch) tdep->jb_pc_offset = 56; - set_solib_ops (gdbarch, &darwin_so_ops); + set_gdbarch_so_ops (gdbarch, &darwin_so_ops); } void _initialize_amd64_darwin_tdep (); |