Add SIGRIE instruction for MIPS R6
[deliverable/binutils-gdb.git] / opcodes / mcore-dis.c
index dc62099e7aee11f091f174837e68814efb895b3c..536f79b4551c0ada27aa0ec7f17810f335f7ef4b 100644 (file)
@@ -88,9 +88,8 @@ static const char *crname[] = {
 static const unsigned isiz[] = { 2, 0, 1, 0 };
 
 int
-print_insn_mcore (memaddr, info)
-     bfd_vma memaddr;
-     struct disassemble_info *info;
+print_insn_mcore (bfd_vma memaddr,
+                 struct disassemble_info *info)
 {
   unsigned char ibytes[4];
   fprintf_ftype print_func = info->fprintf_func;
@@ -233,6 +232,9 @@ print_insn_mcore (memaddr, info)
 
            val = (memaddr + 2 + ((inst & 0xFF) << 2)) & 0xFFFFFFFC;
 
+           /* We are not reading an instruction, so allow
+              reads to extend beyond the next symbol.  */
+           info->stop_vma = 0;
            status = info->read_memory_func (val, ibytes, 4, info);
            if (status != 0)
              {
@@ -263,6 +265,9 @@ print_insn_mcore (memaddr, info)
 
            val = (memaddr + 2 + ((inst & 0xFF) << 2)) & 0xFFFFFFFC;
 
+           /* We are not reading an instruction, so allow
+              reads to extend beyond the next symbol.  */
+           info->stop_vma = 0;
            status = info->read_memory_func (val, ibytes, 4, info);
            if (status != 0)
              {
This page took 0.023962 seconds and 4 git commands to generate.