|
From: <sv...@va...> - 2010-01-30 13:57:00
|
Author: sewardj
Date: 2010-01-30 13:40:27 +0000 (Sat, 30 Jan 2010)
New Revision: 11036
Log:
The client request VG_USERREQ__LOAD_PDB_DEBUGINFO that we get from
Wine as a notification to read PDB/PE debug info, contains a parameter
'reloc' whose purpose is unknown, and which is unused. Rename it
accordingly, to 'unknown_purpose__reloc'. (a non-functional change)
Modified:
trunk/coregrind/m_debuginfo/readpdb.c
Modified: trunk/coregrind/m_debuginfo/readpdb.c
===================================================================
--- trunk/coregrind/m_debuginfo/readpdb.c 2010-01-30 13:36:37 UTC (rev 11035)
+++ trunk/coregrind/m_debuginfo/readpdb.c 2010-01-30 13:40:27 UTC (rev 11036)
@@ -70,9 +70,9 @@
To complicate matters further, Wine supplies us, via the
VG_USERREQ__LOAD_PDB_DEBUGINFO client request that initiates PDB
- reading, a value 'reloc' which, if you read 'virtual.c' in the Wine
- sources, looks a lot like a text bias value. Yet the code below
- ignores it.
+ reading, a value 'unknown_purpose__reloc' which, if you read
+ 'virtual.c' in the Wine sources, looks a lot like a text bias
+ value. Yet the code below ignores it.
To make future experimentation with biasing easier, here are four
macros which give the bias to use in each of the four cases. Be
@@ -1823,7 +1823,7 @@
static void pdb_dump( struct pdb_reader* pdb,
DebugInfo* di,
Addr pe_avma,
- Int reloc,
+ Int unknown_purpose__reloc,
IMAGE_SECTION_HEADER* sectp_avma )
{
Int header_size;
@@ -1879,7 +1879,7 @@
(PtrdiffT)BIAS_FOR_FPO, VG_STRINGIFY(BIAS_FOR_FPO));
VG_(message)(Vg_DebugMsg,
" RELOC = %#08lx\n",
- (PtrdiffT)reloc);
+ (PtrdiffT)unknown_purpose__reloc);
}
/* Since we just use the FPO data without reformatting, at least
|