diff options
Diffstat (limited to 'gdb/rs6000-aix-tdep.c')
-rw-r--r-- | gdb/rs6000-aix-tdep.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/gdb/rs6000-aix-tdep.c b/gdb/rs6000-aix-tdep.c index 3faefe5..853a66e 100644 --- a/gdb/rs6000-aix-tdep.c +++ b/gdb/rs6000-aix-tdep.c @@ -1,6 +1,6 @@ /* Native support code for PPC AIX, for GDB the GNU debugger. - Copyright (C) 2006-2024 Free Software Foundation, Inc. + Copyright (C) 2006-2025 Free Software Foundation, Inc. Free Software Foundation, Inc. @@ -328,15 +328,16 @@ aix_sighandle_frame_sniffer (const struct frame_unwind *self, /* AIX signal handler frame unwinder */ -static const struct frame_unwind aix_sighandle_frame_unwind = { +static const struct frame_unwind_legacy aix_sighandle_frame_unwind ( "rs6000 aix sighandle", SIGTRAMP_FRAME, + FRAME_UNWIND_ARCH, default_frame_unwind_stop_reason, aix_sighandle_frame_this_id, aix_sighandle_frame_prev_register, NULL, aix_sighandle_frame_sniffer -}; +); /* Core file support. */ @@ -524,7 +525,7 @@ rs6000_push_dummy_call (struct gdbarch *gdbarch, struct value *function, on PPC variants that lack them. */ gdb_assert (ppc_floating_point_unit_p (gdbarch)); - /* The first eight words of ther arguments are passed in registers. + /* The first eight words of the arguments are passed in registers. Copy them appropriately. */ ii = 0; @@ -1410,13 +1411,11 @@ rs6000_aix_init_osabi (struct gdbarch_info info, struct gdbarch *gdbarch) set_gdbarch_wchar_signed (gdbarch, 0); set_gdbarch_auto_wide_charset (gdbarch, rs6000_aix_auto_wide_charset); - set_gdbarch_so_ops (gdbarch, &solib_aix_so_ops); + set_gdbarch_make_solib_ops (gdbarch, make_aix_solib_ops); frame_unwind_append_unwinder (gdbarch, &aix_sighandle_frame_unwind); } -void _initialize_rs6000_aix_tdep (); -void -_initialize_rs6000_aix_tdep () +INIT_GDB_FILE (rs6000_aix_tdep) { gdbarch_register_osabi_sniffer (bfd_arch_rs6000, bfd_target_xcoff_flavour, |