From: Julian Seward Date: Sat, 30 Jan 2010 13:40:27 +0000 (+0000) Subject: The client request VG_USERREQ__LOAD_PDB_DEBUGINFO that we get from X-Git-Tag: svn/VALGRIND_3_6_0~388 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5df7c9147655f4727ebe85fcdf868c7f529b1ffa;p=thirdparty%2Fvalgrind.git 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) git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11036 --- diff --git a/coregrind/m_debuginfo/readpdb.c b/coregrind/m_debuginfo/readpdb.c index be6661af5d..ed08504fae 100644 --- a/coregrind/m_debuginfo/readpdb.c +++ b/coregrind/m_debuginfo/readpdb.c @@ -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 Int cmp_FPO_DATA_for_canonicalisation ( void* f1V, void* f2V ) 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 @@ static void pdb_dump( struct pdb_reader* pdb, (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