aboutsummaryrefslogtreecommitdiff
path: root/gdb/mep-tdep.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2013-04-19 15:15:55 +0000
committerPedro Alves <palves@redhat.com>2013-04-19 15:15:55 +0000
commit9d1dd0e275837ad325f8ff8f51bc3d5912fa3561 (patch)
tree91f47bae9cbe76522ab6cb3aaf76c6a06e40cdc7 /gdb/mep-tdep.c
parent44096aee2e53b84d296506bef1fcd3059280a857 (diff)
downloadgdb-9d1dd0e275837ad325f8ff8f51bc3d5912fa3561.zip
gdb-9d1dd0e275837ad325f8ff8f51bc3d5912fa3561.tar.gz
gdb-9d1dd0e275837ad325f8ff8f51bc3d5912fa3561.tar.bz2
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 <palves@redhat.com> * mep-tdep.c (mep_get_insn): Change 'insn' parameter type to unsigned long *.
Diffstat (limited to 'gdb/mep-tdep.c')
-rw-r--r--gdb/mep-tdep.c2
1 files changed, 1 insertions, 1 deletions
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;