summaryrefslogtreecommitdiff
path: root/gdb/gdbserver/linux-arc-low.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gdbserver/linux-arc-low.c')
-rw-r--r--gdb/gdbserver/linux-arc-low.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/gdbserver/linux-arc-low.c b/gdb/gdbserver/linux-arc-low.c
index 28c7ead3deb..c5faa1df4a5 100644
--- a/gdb/gdbserver/linux-arc-low.c
+++ b/gdb/gdbserver/linux-arc-low.c
@@ -113,7 +113,7 @@ arc_breakpoint_at (CORE_ADDR where)
{
unsigned long insn;
- (*the_target->read_memory) (where, (char *) &insn, arc_breakpoint_len);
+ (*the_target->read_memory) (where, (unsigned char *) &insn, arc_breakpoint_len);
if (insn == arc_breakpoint)
return 1;
@@ -141,7 +141,7 @@ struct linux_target_ops the_low_target = {
arc_cannot_store_register,
arc_get_pc,
arc_set_pc,
- (const char *) &arc_breakpoint,
+ (const unsigned char *) &arc_breakpoint,
arc_breakpoint_len,
arc_reinsert_addr,
0,