gdb: add target_ops::supports_displaced_step
[deliverable/binutils-gdb.git] / opcodes / tic4x-dis.c
index 33d75c878b8cf5fd75e22899b480259becf8d36d..683f22e50fafed7081c32f861979e0b0ea7cd3a4 100644 (file)
@@ -52,7 +52,7 @@ typedef enum
 indirect_t;
 
 static unsigned long tic4x_version = 0;
-static int tic4x_dp = 0;
+static unsigned int tic4x_dp = 0;
 static tic4x_inst_t **optab = NULL;
 static tic4x_inst_t **optab_special = NULL;
 static const char *registernames[REG_TABLE_SIZE];
@@ -695,16 +695,10 @@ tic4x_disassemble (unsigned long pc,
       tic4x_version = info->mach;
       /* Don't stash anything from a previous call using a different
         machine.  */
-      if (optab)
-       {
-         free (optab);
-         optab = NULL;
-       }
-      if (optab_special)
-       {
-         free (optab_special);
-         optab_special = NULL;
-       }
+      free (optab);
+      optab = NULL;
+      free (optab_special);
+      optab_special = NULL;
       registernames[REG_R0] = NULL;
     }
 
This page took 0.023577 seconds and 4 git commands to generate.