2004-10-30 Andrew Cagney <cagney@gnu.org>

* config/mips/tm-mips.h (MIPS16_INSTLEN, MIPS_NUMREGS)
	(MIPS_INSTLEN): Delete.
	* mips-tdep.h (enum mips_insn_size): Rename MIPS32_INSN_SIZE and
	MIPS16_INSN_SIZE to MIPS_INSN32_SIZE and MIPS_INSN16_SIZE.
	* remote-mips.c, mips-tdep.c: Update.
This commit is contained in:
Andrew Cagney
2004-10-30 20:54:54 +00:00
parent 1a8da44df3
commit 95ac2dcfbb
5 changed files with 26 additions and 21 deletions

View File

@@ -81,11 +81,13 @@ enum
/* Defined in mips-tdep.c and used in remote-mips.c */
extern void deprecated_mips_set_processor_regs_hack (void);
/* Instruction sizes. */
enum mips_insn_size
/* Instruction sizes and other useful constants. */
enum
{
MIPS16_INSN_SIZE = 2,
MIPS32_INSN_SIZE = 4
MIPS_INSN16_SIZE = 2,
MIPS_INSN32_SIZE = 4,
/* The number of floating-point or integer registers. */
MIPS_NUMREGS = 32
};
/* Single step based on where the current instruction will take us. */