diff options
Diffstat (limited to 'gdb/csky-tdep.c')
-rw-r--r-- | gdb/csky-tdep.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/gdb/csky-tdep.c b/gdb/csky-tdep.c index 4f41a51..e6c6e2c 100644 --- a/gdb/csky-tdep.c +++ b/gdb/csky-tdep.c @@ -1,6 +1,6 @@ /* Target-dependent code for the CSKY architecture, for GDB. - Copyright (C) 2010-2024 Free Software Foundation, Inc. + Copyright (C) 2010-2025 Free Software Foundation, Inc. Contributed by C-SKY Microsystems and Mentor Graphics. @@ -1072,7 +1072,7 @@ csky_analyze_prologue (struct gdbarch *gdbarch, } else if (CSKY_32_IS_MOV_FP_SP (insn)) { - /* SP is saved to FP reg, means code afer prologue may + /* SP is saved to FP reg, means code after prologue may modify SP. */ is_fp_saved = 1; adjust_fp = stacksize; @@ -2667,7 +2667,7 @@ csky_pseudo_register_write (struct gdbarch *gdbarch, struct regcache *regcache, } /* Initialize the current architecture based on INFO. If possible, - re-use an architecture from ARCHES, which is a list of + reuse an architecture from ARCHES, which is a list of architectures already created during this debugging session. Called at program startup, when reading a core file, and when @@ -2882,9 +2882,7 @@ csky_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) return gdbarch; } -void _initialize_csky_tdep (); -void -_initialize_csky_tdep () +INIT_GDB_FILE (csky_tdep) { gdbarch_register (bfd_arch_csky, csky_gdbarch_init); |