diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-08-12 02:10:18 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-08-12 02:10:18 +0000 |
commit | a15525c16a5143284e86593e2c7ce722c6fdfe60 (patch) | |
tree | 39a7ff7baf3579cbdb42e5453041498dba0ad188 /gdb/mn10300-tdep.c | |
parent | c422e77126de8364e08b6e8dff0fa249da9b83fb (diff) | |
download | gdb-a15525c16a5143284e86593e2c7ce722c6fdfe60.zip gdb-a15525c16a5143284e86593e2c7ce722c6fdfe60.tar.gz gdb-a15525c16a5143284e86593e2c7ce722c6fdfe60.tar.bz2 |
* config/mn10300/tm-mn10300.h (PC_REGNUM, SP_REGNUM): Delete.
* mn10300-tdep.c (mn10300_gdbarch_init): Initialize pc_regnum and
sp_regnum.
Diffstat (limited to 'gdb/mn10300-tdep.c')
-rw-r--r-- | gdb/mn10300-tdep.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/mn10300-tdep.c b/gdb/mn10300-tdep.c index d62a093..087f8ef 100644 --- a/gdb/mn10300-tdep.c +++ b/gdb/mn10300-tdep.c @@ -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); |