Use mips_regnum instead of constants for FreeBSD/mips register operations.
authorJohn Baldwin <jhb@FreeBSD.org>
Tue, 18 Apr 2017 17:49:44 +0000 (10:49 -0700)
committerJohn Baldwin <jhb@FreeBSD.org>
Tue, 23 May 2017 19:03:16 +0000 (12:03 -0700)
commitf7241d4f27cd59357a75bf802e9ffa7d95036deb
tree328de3ccead42231fedc31ea6ebcfca5cb42e473
parentd489d81d0934c4fda8c8aa68fbec1b1315cf8df0
Use mips_regnum instead of constants for FreeBSD/mips register operations.

gdb/ChangeLog:

* mips-fbsd-tdep.c (MIPS_PC_REGNUM): Remove.
(MIPS_FP0_REGNUM): Remove.
(MIPS_FSR_REGNUM): Remove.
(mips_fbsd_supply_fpregs): Use mips_regnum.
(mips_fbsd_supply_gregs): Likewise.
(mips_fbsd_collect_fpregs): Likewise.
(mips_fbsd_collect_gregs): Likewise.
gdb/ChangeLog
gdb/mips-fbsd-tdep.c