* sparc-dis.c (print_insn_sparc): Always fetch instructions
[deliverable/binutils-gdb.git] / opcodes / arm-dis.c
index 91bcab120a9daa1e9d94179f08ab7bb07541259e..32112c17f4992b42c5a5c0861db6845d3e5eefac 100644 (file)
@@ -709,11 +709,10 @@ print_insn_big_arm (pc, info)
   unsigned char      b[4];
   long               given;
   int                status;
-  asymbol *          saved_symbol;
   coff_symbol_type * cs;
   int                is_thumb;
   
-  cs = coffsymbol (info->symbol);
+  cs = coffsymbol (*info->symbols);
   is_thumb = (cs != NULL) &&
      (   cs->native->u.syment.n_sclass == C_THUMBEXT
       || cs->native->u.syment.n_sclass == C_THUMBSTAT
@@ -758,8 +757,6 @@ print_insn_big_arm (pc, info)
       given = (b[0] << 24) | (b[1] << 16) | (b[2] << 8) | (b[3]);
     }
 
-  saved_symbol = info->symbol;
-  
   if (is_thumb)
     {
       status = print_insn_thumb (pc, info, given);
@@ -769,8 +766,6 @@ print_insn_big_arm (pc, info)
       status = print_insn_arm (pc, info, given);
     }
 
-  info->symbol = saved_symbol; /* Stop displayed symbols from resetting the stored symbol */
-  
   return status;
 }
 
@@ -782,11 +777,10 @@ print_insn_little_arm (pc, info)
   unsigned char      b[4];
   long               given;
   int                status;
-  asymbol *          saved_symbol;
   coff_symbol_type * cs;
   int                is_thumb;
   
-  cs = coffsymbol (info->symbol);
+  cs = coffsymbol (*info->symbols);
   is_thumb = (cs != NULL) && 
      (   cs->native->u.syment.n_sclass == C_THUMBEXT
       || cs->native->u.syment.n_sclass == C_THUMBSTAT
@@ -813,8 +807,6 @@ print_insn_little_arm (pc, info)
 
   given = (b[0]) | (b[1] << 8) | (b[2] << 16) | (b[3] << 24);
 
-  saved_symbol = info->symbol;
-  
   if (is_thumb)
     {
       status = print_insn_thumb (pc, info, given);
@@ -824,7 +816,5 @@ print_insn_little_arm (pc, info)
       status = print_insn_arm (pc, info, given);
     }
 
-  info->symbol = saved_symbol; /* Stop displayed symbols from resetting the stored symbol */
-
   return status;
 }
This page took 0.025162 seconds and 4 git commands to generate.