diff options
Diffstat (limited to 'gdb/gdbserver/linux-ppc64-low.c')
-rw-r--r-- | gdb/gdbserver/linux-ppc64-low.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/gdbserver/linux-ppc64-low.c b/gdb/gdbserver/linux-ppc64-low.c index 9b63aa1..6a8c17d 100644 --- a/gdb/gdbserver/linux-ppc64-low.c +++ b/gdb/gdbserver/linux-ppc64-low.c @@ -89,7 +89,7 @@ ppc_breakpoint_at (CORE_ADDR where) { unsigned int insn; - (*the_target->read_memory) (where, (char *) &insn, 4); + (*the_target->read_memory) (where, (unsigned char *) &insn, 4); if (insn == ppc_breakpoint) return 1; /* If necessary, recognize more trap instructions here. GDB only uses the @@ -104,7 +104,7 @@ struct linux_target_ops the_low_target = { ppc_cannot_store_register, ppc_get_pc, ppc_set_pc, - (const char *) &ppc_breakpoint, + (const unsigned char *) &ppc_breakpoint, ppc_breakpoint_len, NULL, 0, |