mep-tdep.c: Wrong signness for instruction buffer.
authorPedro Alves <palves@redhat.com>
Fri, 19 Apr 2013 15:15:55 +0000 (15:15 +0000)
committerPedro Alves <palves@redhat.com>
Fri, 19 Apr 2013 15:15:55 +0000 (15:15 +0000)
There seems to be no reason for this to be signed.

gdb/
2013-04-19  Pedro Alves  <palves@redhat.com>

* mep-tdep.c (mep_get_insn): Change 'insn' parameter type to
unsigned long *.

gdb/ChangeLog
gdb/mep-tdep.c

index a04e6d8..cfd5449 100644 (file)
@@ -1,5 +1,10 @@
 2013-04-19  Pedro Alves  <palves@redhat.com>
 
+       * mep-tdep.c (mep_get_insn): Change 'insn' parameter type to
+       unsigned long *.
+
+2013-04-19  Pedro Alves  <palves@redhat.com>
+
        * alpha-tdep.c (heuristic_fence_post): Change type to int.
        (alpha_heuristic_proc_start): Adjust to check -1 instead of
        UINT_MAX.
index 3d91773..7c5f992 100644 (file)
@@ -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;