]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/tic6x-tdep.c
remove trivialy unused variables
[thirdparty/binutils-gdb.git] / gdb / tic6x-tdep.c
index 4779bf09bea4675e7a656f7d99d609cb0d99a1f7..af5393828e6ec0b9e1b03e2521a46c2cc96cc1a0 100644 (file)
@@ -151,7 +151,6 @@ tic6x_analyze_prologue (struct gdbarch *gdbarch, const CORE_ADDR start_pc,
                        struct tic6x_unwind_cache *cache,
                        struct frame_info *this_frame)
 {
-  enum bfd_endian byte_order = gdbarch_byte_order (gdbarch);
   unsigned long inst;
   unsigned int src_reg, base_reg, dst_reg;
   int i;
@@ -175,8 +174,6 @@ tic6x_analyze_prologue (struct gdbarch *gdbarch, const CORE_ADDR start_pc,
      2nd one is optional.  */
   while (pc < current_pc)
     {
-      int offset = 0;
-
       unsigned long inst = tic6x_fetch_instruction (gdbarch, pc);
 
       if ((inst & 0x1ffc) == 0x1dc0 || (inst & 0x1ffc) == 0x1bc0