Support for different MIPS IDT processor models.
authorStan Shebs <shebs@codesourcery.com>
Fri, 18 Nov 1994 02:18:09 +0000 (02:18 +0000)
committerStan Shebs <shebs@codesourcery.com>
Fri, 18 Nov 1994 02:18:09 +0000 (02:18 +0000)
commit9f9f94aa0930f4981532e953b54cd028c0a556c6
treea8883913199df90d3b6da24ffb4e8d67c6df283c
parentf618f758e9a906a72356156c5be69e37647fe18e
Support for different MIPS IDT processor models.
* mips-tdep.c (mips_processor_type, tmp_mips_processor_type,
mips_generic_reg_names, mips_r3041_reg_names,
mips_r3051_reg_names, mips_r3081_reg_names,
mips_processor_type_table): New globals.
(mips_do_registers_info): Don't display register if name is empty.
(mips_set_processor_type_command): New command.
(mips_show_processor_type_command): New command.
(mips_set_processor_type): New function.
(mips_read_processor_type): New function.
* config/mips/tm-idt.h (DEFAULT_MIPS_TYPE): New macro.
* config/mips/tm-mips.h (DEFAULT_MIPS_TYPE): New macro.
(NUM_REGS): Increase to account for all CP0 registers.
(REGISTER_NAMES): Add empty names for CP0 registers.
(FIRST_EMBED_REGNUM, LAST_EMBED_REGNUM): Adjust.
(PRID_REGNUM): New macro.
gdb/ChangeLog
gdb/config/mips/tm-idt.h
gdb/config/mips/tm-mips.h
gdb/mips-tdep.c