diff options
author | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2000-12-18 04:36:35 +0000 |
---|---|---|
committer | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2000-12-18 04:36:35 +0000 |
commit | c5f7d19c5a425025b2f24036bcafcdcd7de0184f (patch) | |
tree | 258eb83b707333f56e48d63a00aec78bbaf750f5 /gdb/sh-tdep.c | |
parent | d55e473712f0ef89764ee5fdd2c0f1096e530ca5 (diff) | |
download | gdb-c5f7d19c5a425025b2f24036bcafcdcd7de0184f.zip gdb-c5f7d19c5a425025b2f24036bcafcdcd7de0184f.tar.gz gdb-c5f7d19c5a425025b2f24036bcafcdcd7de0184f.tar.bz2 |
2000-12-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* sh-tdep.c (sh_gdbarch_init): Initialize do_registers_info.
* config/sh/tm-sh.h (DO_REGISTERS_INFO): Remove macro. Use
multiarch version instead.
Diffstat (limited to 'gdb/sh-tdep.c')
-rw-r--r-- | gdb/sh-tdep.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/sh-tdep.c b/gdb/sh-tdep.c index 5e89dd9..be93f21 100644 --- a/gdb/sh-tdep.c +++ b/gdb/sh-tdep.c @@ -104,6 +104,7 @@ static gdbarch_fetch_pseudo_register_ftype sh_fetch_pseudo_register; static gdbarch_store_pseudo_register_ftype sh_store_pseudo_register; static int fv_reg_base_num (int); static int dr_reg_base_num (int); +static gdbarch_do_registers_info_ftype sh_do_registers_info; static void do_fv_register_info (int fv_regnum); static void do_dr_register_info (int dr_regnum); static void sh_do_pseudo_register (int regnum); @@ -1917,6 +1918,7 @@ sh_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) set_gdbarch_register_bytes (gdbarch, NUM_REGS * 4); set_gdbarch_fetch_pseudo_register (gdbarch, sh_fetch_pseudo_register); set_gdbarch_store_pseudo_register (gdbarch, sh_store_pseudo_register); + set_gdbarch_do_registers_info (gdbarch, sh_do_registers_info); print_sh_insn = gdb_print_insn_sh; switch (info.bfd_arch_info->mach) |