aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-mips.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-10-30 20:54:54 +0000
committerAndrew Cagney <cagney@redhat.com>2004-10-30 20:54:54 +0000
commit95ac2dcfbb412c950079cd182299a7d572ed9f90 (patch)
tree8cad60c72e3cdcde5d143876d4dddd224730fa6f /gdb/remote-mips.c
parent1a8da44df3a27ece21de383e0e0571957bfc56cb (diff)
downloadgdb-95ac2dcfbb412c950079cd182299a7d572ed9f90.zip
gdb-95ac2dcfbb412c950079cd182299a7d572ed9f90.tar.gz
gdb-95ac2dcfbb412c950079cd182299a7d572ed9f90.tar.bz2
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.
Diffstat (limited to 'gdb/remote-mips.c')
-rw-r--r--gdb/remote-mips.c4
1 files changed, 2 insertions, 2 deletions
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);
}