* frv-tdep.c (gdb_assert.h, sim-regno.h, gdb/sim-frv.h)
authorKevin Buettner <kevinb@redhat.com>
Sat, 1 Nov 2003 01:42:48 +0000 (01:42 +0000)
committerKevin Buettner <kevinb@redhat.com>
Sat, 1 Nov 2003 01:42:48 +0000 (01:42 +0000)
commit526eef8952297c1503c8efb54c6f8234d75a2479
treeaa56c3e1e059f7cc1cc61ce2c311842f3492a0c6
parente4418cab6f6480a60703b8fe2b4c1a617a3c5448
* frv-tdep.c (gdb_assert.h, sim-regno.h, gdb/sim-frv.h)
(opcodes/frv-desc.h): Include.
(iacc0h_regnum, iacc0l_regnum): Define.
(last_spr_regnum, frv_num_regs): Update.
(new_variant): Don't supply default names for holes in the SPRs.
Supply names for iacc0h_regnum and iacc0l_regnum.
(frv_register_type): Use symbolic constants first_fpr_regnum and
last_fpr_regnum instead of hardcoded constants 64 and 127.  Use
builtin_type_int instead of builtin_type_int32.
(frv_register_sim_regno): New function.
(frv_gdbarch_init): Call set_gdbarch_register_sim_regno().
* Makefile.in (gdb_sim_frv_h): Define.
(frv-tdep.o): Update dependencies.
gdb/ChangeLog
gdb/Makefile.in
gdb/frv-tdep.c