+2002-11-29 Stephane Carrez <stcarrez@nerim.fr>
+
+ * m68hc11-tdep.c (m68hc11_register_raw_size): Remove.
+ (m68hc11_register_byte): Remove.
+ (m68hc11_gdbarch_init): Don't set the above.
+
2002-11-29 Andrew Cagney <cagney@redhat.com>
* remote-mips.c (mips_initialize): Force a selected frame rebuild
return sp;
}
-/* Index within `registers' of the first byte of the space for
- register N. */
-static int
-m68hc11_register_byte (int reg_nr)
-{
- return (reg_nr * M68HC11_REG_SIZE);
-}
-
-static int
-m68hc11_register_raw_size (int reg_nr)
-{
- switch (reg_nr)
- {
- case HARD_PAGE_REGNUM:
- case HARD_A_REGNUM:
- case HARD_B_REGNUM:
- case HARD_CCR_REGNUM:
- return 1;
-
- case M68HC12_HARD_PC_REGNUM:
- return 4;
-
- default:
- return M68HC11_REG_SIZE;
- }
-}
-
/* Test whether the ELF symbol corresponds to a function using rtc or
rti to return. */
set_gdbarch_fp0_regnum (gdbarch, -1);
set_gdbarch_max_register_raw_size (gdbarch, 2);
set_gdbarch_max_register_virtual_size (gdbarch, 2);
- set_gdbarch_register_raw_size (gdbarch, m68hc11_register_raw_size);
- set_gdbarch_register_virtual_size (gdbarch, m68hc11_register_raw_size);
- set_gdbarch_register_byte (gdbarch, m68hc11_register_byte);
set_gdbarch_frame_init_saved_regs (gdbarch, m68hc11_frame_init_saved_regs);
set_gdbarch_frame_args_skip (gdbarch, 0);