mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 09:08:59 +00:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user