From 9d1dd0e275837ad325f8ff8f51bc3d5912fa3561 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Fri, 19 Apr 2013 15:15:55 +0000 Subject: 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 *. --- gdb/mep-tdep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/mep-tdep.c') 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; -- cgit v1.2.1