* config/mn10300/tm-mn10300.h (PC_REGNUM, SP_REGNUM): Delete.

* mn10300-tdep.c (mn10300_gdbarch_init): Initialize pc_regnum and
sp_regnum.
This commit is contained in:
Andrew Cagney 2001-08-12 02:10:18 +00:00
parent c422e77126
commit a15525c16a
3 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2001-08-11 Andrew Cagney <ac131313@redhat.com>
* config/mn10300/tm-mn10300.h (PC_REGNUM, SP_REGNUM): Delete.
* mn10300-tdep.c (mn10300_gdbarch_init): Initialize pc_regnum and
sp_regnum.
2001-08-11 Andrew Cagney <ac131313@redhat.com>
* doublest.c (convert_doublest_to_floatformat): Rename

View File

@ -49,8 +49,6 @@
#define A0_REGNUM 4
#define A2_REGNUM 6
#define A3_REGNUM 7
#define SP_REGNUM 8
#define PC_REGNUM 9
#define MDR_REGNUM 10
#define PSW_REGNUM 11
#define LIR_REGNUM 12

View File

@ -1074,6 +1074,8 @@ mn10300_gdbarch_init (struct gdbarch_info info,
set_gdbarch_register_virtual_type (gdbarch, mn10300_register_virtual_type);
set_gdbarch_dwarf2_reg_to_regnum (gdbarch, mn10300_dwarf2_reg_to_regnum);
set_gdbarch_do_registers_info (gdbarch, mn10300_do_registers_info);
set_gdbarch_sp_regnum (gdbarch, 8);
set_gdbarch_pc_regnum (gdbarch, 9);
set_gdbarch_fp_regnum (gdbarch, 31);
set_gdbarch_virtual_frame_pointer (gdbarch, mn10300_virtual_frame_pointer);