Removed saved_symbol code as it is no longer needed.
authorNick Clifton <nickc@redhat.com>
Tue, 24 Feb 1998 19:23:07 +0000 (19:23 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 24 Feb 1998 19:23:07 +0000 (19:23 +0000)
opcodes/ChangeLog
opcodes/arm-dis.c

index 6c7cd5347843bd15f261a22839b1799f455796ec..594412718c63f1994f7e6a4d1518a16696cd9054 100644 (file)
@@ -1,7 +1,7 @@
 Tue Feb 24 11:06:18 1998  Nick Clifton  <nickc@cygnus.com>
 
-       * arm-dis.c (print_insn_big_arm): Save the current symbol before
-       displaying a disassembled line.
+       * arm-dis.c (print_insn_big_arm, print_insn_little_arm): Remove
+       saved_symbol code as it is no longer needed.
 
 Mon Feb 23 13:16:17 1998  Doug Evans  <devans@seba.cygnus.com>
 
index 91bcab120a9daa1e9d94179f08ab7bb07541259e..d9d890ec7ce1e28016c70ecb15c08b0d3cb93995 100644 (file)
@@ -709,7 +709,6 @@ print_insn_big_arm (pc, info)
   unsigned char      b[4];
   long               given;
   int                status;
-  asymbol *          saved_symbol;
   coff_symbol_type * cs;
   int                is_thumb;
   
@@ -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,7 +777,6 @@ print_insn_little_arm (pc, info)
   unsigned char      b[4];
   long               given;
   int                status;
-  asymbol *          saved_symbol;
   coff_symbol_type * cs;
   int                is_thumb;
   
@@ -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;
 }