From: Pedro Alves Date: Fri, 19 Apr 2013 15:15:55 +0000 (+0000) Subject: mep-tdep.c: Wrong signness for instruction buffer. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9d1dd0e275837ad325f8ff8f51bc3d5912fa3561;p=binutils-gdb.git mep-tdep.c: Wrong signness for instruction buffer. There seems to be no reason for this to be signed. gdb/ 2013-04-19 Pedro Alves * mep-tdep.c (mep_get_insn): Change 'insn' parameter type to unsigned long *. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a04e6d8d6f0..cfd5449e023 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2013-04-19 Pedro Alves + + * mep-tdep.c (mep_get_insn): Change 'insn' parameter type to + unsigned long *. + 2013-04-19 Pedro Alves * alpha-tdep.c (heuristic_fence_post): Change type to int. diff --git a/gdb/mep-tdep.c b/gdb/mep-tdep.c index 3d917738ac7..7c5f9921530 100644 --- a/gdb/mep-tdep.c +++ b/gdb/mep-tdep.c @@ -1424,7 +1424,7 @@ mep_pc_in_vliw_section (CORE_ADDR pc) anyway. */ static CORE_ADDR -mep_get_insn (struct gdbarch *gdbarch, CORE_ADDR pc, long *insn) +mep_get_insn (struct gdbarch *gdbarch, CORE_ADDR pc, unsigned long *insn) { enum bfd_endian byte_order = gdbarch_byte_order (gdbarch); int pc_in_vliw_section;