diff options
Diffstat (limited to 'gdb/rx-tdep.c')
-rw-r--r-- | gdb/rx-tdep.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gdb/rx-tdep.c b/gdb/rx-tdep.c index 6b12fe0..7b110ce 100644 --- a/gdb/rx-tdep.c +++ b/gdb/rx-tdep.c @@ -1,6 +1,6 @@ /* Target-dependent code for the Renesas RX for GDB, the GNU debugger. - Copyright (C) 2008-2024 Free Software Foundation, Inc. + Copyright (C) 2008-2025 Free Software Foundation, Inc. Contributed by Red Hat, Inc. @@ -631,29 +631,31 @@ rx_exception_sniffer (const struct frame_unwind *self, /* Data structure for normal code using instruction-based prologue analyzer. */ -static const struct frame_unwind rx_frame_unwind = { +static const struct frame_unwind_legacy rx_frame_unwind ( "rx prologue", NORMAL_FRAME, + FRAME_UNWIND_ARCH, default_frame_unwind_stop_reason, rx_frame_this_id, rx_frame_prev_register, NULL, rx_frame_sniffer -}; +); /* Data structure for exception code using instruction-based prologue analyzer. */ -static const struct frame_unwind rx_exception_unwind = { +static const struct frame_unwind_legacy rx_exception_unwind ( "rx exception", /* SIGTRAMP_FRAME could be used here, but backtraces are less informative. */ NORMAL_FRAME, + FRAME_UNWIND_ARCH, default_frame_unwind_stop_reason, rx_frame_this_id, rx_frame_prev_register, NULL, rx_exception_sniffer -}; +); /* Implement the "push_dummy_call" gdbarch method. */ static CORE_ADDR @@ -1061,9 +1063,7 @@ rx_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) /* Register the above initialization routine. */ -void _initialize_rx_tdep (); -void -_initialize_rx_tdep () +INIT_GDB_FILE (rx_tdep) { gdbarch_register (bfd_arch_rx, rx_gdbarch_init); initialize_tdesc_rx (); |