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 faff01388532eb017d057a8148cf1d7cd0dcadca..911fcd1eb3370d30025dd97bc3c3c26d02ad7682 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 1f68d0496f55d36f1bc3e90b79a12de66bbe2ec1..9d24f0130da395bd0361e044bdd4be3e00775361 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.  */