winedump, dbghelp: Correctly name the age field in PDB headers.

This commit is contained in:
Eric Pouech 2008-08-29 21:50:33 +02:00 committed by Alexandre Julliard
parent 8b9c05a9ca
commit f3c071660d
3 changed files with 8 additions and 8 deletions

View File

@ -2496,7 +2496,7 @@ static BOOL codeview_process_info(const struct process* pcs,
pdb_lookup.kind = PDB_JG;
pdb_lookup.u.jg.timestamp = pdb->timestamp;
pdb_lookup.u.jg.toc = NULL;
pdb_lookup.age = pdb->unknown;
pdb_lookup.age = pdb->age;
ret = pdb_process_file(pcs, msc_dbg, &pdb_lookup);
break;
}
@ -2504,13 +2504,13 @@ static BOOL codeview_process_info(const struct process* pcs,
{
const OMFSignatureRSDS* rsds = (const OMFSignatureRSDS*)msc_dbg->root;
TRACE("Got RSDS type of PDB file: guid=%s unk=%08x name=%s\n",
wine_dbgstr_guid(&rsds->guid), rsds->unknown, rsds->name);
TRACE("Got RSDS type of PDB file: guid=%s age=%08x name=%s\n",
wine_dbgstr_guid(&rsds->guid), rsds->age, rsds->name);
pdb_lookup.filename = rsds->name;
pdb_lookup.kind = PDB_DS;
pdb_lookup.u.ds.guid = rsds->guid;
pdb_lookup.u.ds.toc = NULL;
pdb_lookup.age = rsds->unknown;
pdb_lookup.age = rsds->age;
ret = pdb_process_file(pcs, msc_dbg, &pdb_lookup);
break;
}

View File

@ -1879,7 +1879,7 @@ typedef struct OMFSignatureRSDS
{
char Signature[4];
GUID guid;
DWORD unknown;
DWORD age;
CHAR name[1];
} OMFSignatureRSDS;
@ -1888,7 +1888,7 @@ typedef struct _CODEVIEW_PDB_DATA
char Signature[4];
long filepos;
DWORD timestamp;
DWORD unknown;
DWORD age;
CHAR name[1];
} CODEVIEW_PDB_DATA, *PCODEVIEW_PDB_DATA;

View File

@ -418,7 +418,7 @@ static void dump_codeview_headers(unsigned long base, unsigned long len)
printf(" Filepos: 0x%08lX\n", pdb_data->filepos);
printf(" TimeStamp: %08X (%s)\n",
pdb_data->timestamp, get_time_str(pdb_data->timestamp));
printf(" Dunno: %08X\n", pdb_data->unknown);
printf(" Age: %08X\n", pdb_data->age);
printf(" Filename: %s\n", pdb_data->name);
return;
}
@ -428,7 +428,7 @@ static void dump_codeview_headers(unsigned long base, unsigned long len)
rsds_data = (const void *)cv_base;
printf(" Guid: %s\n", get_guid_str(&rsds_data->guid));
printf(" Dunno: %08X\n", rsds_data->unknown);
printf(" Age: %08X\n", rsds_data->age);
printf(" Filename: %s\n", rsds_data->name);
return;
}