From: Michael Snyder Date: Mon, 8 Mar 2010 01:49:35 +0000 (+0000) Subject: 2010-03-07 Michael Snyder X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ec6dbf37039f379951bcd79d7ddc9e9bd6708524;p=binutils-gdb.git 2010-03-07 Michael Snyder * record.c (record_restore): Rename tmpu8 to rectype. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index faff0138853..911fcd1eb33 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,7 @@ 2010-03-07 Michael Snyder + * 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. diff --git a/gdb/record.c b/gdb/record.c index 1f68d0496f5..9d24f0130da 100644 --- a/gdb/record.c +++ b/gdb/record.c @@ -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. */