From 95ac2dcfbb412c950079cd182299a7d572ed9f90 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sat, 30 Oct 2004 20:54:54 +0000 Subject: 2004-10-30 Andrew Cagney * 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. --- gdb/remote-mips.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/remote-mips.c') diff --git a/gdb/remote-mips.c b/gdb/remote-mips.c index ab66a90..2230330 100644 --- a/gdb/remote-mips.c +++ b/gdb/remote-mips.c @@ -2225,7 +2225,7 @@ static int mips_insert_breakpoint (CORE_ADDR addr, char *contents_cache) { if (monitor_supports_breakpoints) - return set_breakpoint (addr, MIPS_INSTLEN, BREAK_FETCH); + return set_breakpoint (addr, MIPS_INSN32_SIZE, BREAK_FETCH); else return memory_insert_breakpoint (addr, contents_cache); } @@ -2234,7 +2234,7 @@ static int mips_remove_breakpoint (CORE_ADDR addr, char *contents_cache) { if (monitor_supports_breakpoints) - return clear_breakpoint (addr, MIPS_INSTLEN, BREAK_FETCH); + return clear_breakpoint (addr, MIPS_INSN32_SIZE, BREAK_FETCH); else return memory_remove_breakpoint (addr, contents_cache); } -- cgit v1.1