[PATCH 05/26] mep-tdep.c: Wrong signness for instruction buffer.

Pedro Alves
2013-04-11T22:59:35Z

There seems to be no reason for this to be signed.

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

* 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(-)

diff --git a/gdb/mep-tdep.c b/gdb/mep-tdep.c
index 3d91773..7c5f992 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;