2010-03-07 Michael Snyder <msnyder@vmware.com>
authorMichael Snyder <msnyder@vmware.com>
Mon, 8 Mar 2010 01:49:35 +0000 (01:49 +0000)
committerMichael Snyder <msnyder@vmware.com>
Mon, 8 Mar 2010 01:49:35 +0000 (01:49 +0000)
* record.c (record_restore): Rename tmpu8 to rectype.

gdb/ChangeLog
gdb/record.c

index faff013..911fcd1 100644 (file)
@@ -1,5 +1,7 @@
 2010-03-07  Michael Snyder  <msnyder@vmware.com>
 
+       * record.c (record_restore): Rename tmpu8 to rectype.
+
        * i386-tdep.c (i386_record_lea_modrm_addr): Rename local variables
        tmpu8, tmpi16, tmpi32, tmpulongest to addr8, addr16, addr32, addr64.
 
index 1f68d04..9d24f01 100644 (file)
@@ -2169,16 +2169,16 @@ record_restore (void)
   while (1)
     {
       int ret;
-      uint8_t tmpu8;
+      uint8_t rectype;
       uint32_t regnum, len, signal, count;
       uint64_t addr;
 
       /* We are finished when offset reaches osec_size.  */
       if (bfd_offset >= osec_size)
        break;
-      bfdcore_read (core_bfd, osec, &tmpu8, sizeof (tmpu8), &bfd_offset);
+      bfdcore_read (core_bfd, osec, &rectype, sizeof (rectype), &bfd_offset);
 
-      switch (tmpu8)
+      switch (rectype)
         {
         case record_reg: /* reg */
           /* Get register number to regnum.  */