mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-15 04:24:47 +00:00
include: Update some fields in PDB headers.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
This commit is contained in:
parent
71abef0906
commit
27f3676cfc
|
@ -2387,7 +2387,7 @@ struct PDB_JG_HEADER
|
||||||
char ident[40];
|
char ident[40];
|
||||||
unsigned int signature;
|
unsigned int signature;
|
||||||
unsigned int block_size;
|
unsigned int block_size;
|
||||||
unsigned short free_list;
|
unsigned short free_list_block;
|
||||||
unsigned short total_alloc;
|
unsigned short total_alloc;
|
||||||
struct PDB_FILE toc;
|
struct PDB_FILE toc;
|
||||||
unsigned short toc_block[1];
|
unsigned short toc_block[1];
|
||||||
|
@ -2397,7 +2397,7 @@ struct PDB_DS_HEADER
|
||||||
{
|
{
|
||||||
char signature[32];
|
char signature[32];
|
||||||
unsigned int block_size;
|
unsigned int block_size;
|
||||||
unsigned int unknown1;
|
unsigned int free_list_block;
|
||||||
unsigned int num_blocks;
|
unsigned int num_blocks;
|
||||||
unsigned int toc_size;
|
unsigned int toc_size;
|
||||||
unsigned int unknown2;
|
unsigned int unknown2;
|
||||||
|
|
|
@ -997,15 +997,15 @@ static void pdb_jg_dump(void)
|
||||||
*/
|
*/
|
||||||
pdb_jg_init(&reader);
|
pdb_jg_init(&reader);
|
||||||
printf("Header (JG):\n"
|
printf("Header (JG):\n"
|
||||||
"\tident: %.*s\n"
|
"\tident: %.*s\n"
|
||||||
"\tsignature: %08x\n"
|
"\tsignature: %08x\n"
|
||||||
"\tblock_size: %08x\n"
|
"\tblock_size: %08x\n"
|
||||||
"\tfree_list: %04x\n"
|
"\tfree_list_block: %04x\n"
|
||||||
"\ttotal_alloc:%04x\n",
|
"\ttotal_alloc: %04x\n",
|
||||||
(int)sizeof(pdb2) - 1, reader.u.jg.header->ident,
|
(int)sizeof(pdb2) - 1, reader.u.jg.header->ident,
|
||||||
reader.u.jg.header->signature,
|
reader.u.jg.header->signature,
|
||||||
reader.u.jg.header->block_size,
|
reader.u.jg.header->block_size,
|
||||||
reader.u.jg.header->free_list,
|
reader.u.jg.header->free_list_block,
|
||||||
reader.u.jg.header->total_alloc);
|
reader.u.jg.header->total_alloc);
|
||||||
|
|
||||||
reader.u.jg.root = reader.read_file(&reader, 1);
|
reader.u.jg.root = reader.read_file(&reader, 1);
|
||||||
|
@ -1136,14 +1136,14 @@ static void pdb_ds_dump(void)
|
||||||
printf("Header (DS)\n"
|
printf("Header (DS)\n"
|
||||||
"\tsignature: %.*s\n"
|
"\tsignature: %.*s\n"
|
||||||
"\tblock_size: %08x\n"
|
"\tblock_size: %08x\n"
|
||||||
"\tunknown1: %08x\n"
|
"\tfree_list_block: %08x\n"
|
||||||
"\tnum_blocks: %08x\n"
|
"\tnum_blocks: %08x\n"
|
||||||
"\ttoc_size: %08x\n"
|
"\ttoc_size: %08x\n"
|
||||||
"\tunknown2: %08x\n"
|
"\tunknown2: %08x\n"
|
||||||
"\ttoc_block: %08x\n",
|
"\ttoc_block: %08x\n",
|
||||||
(int)sizeof(pdb7) - 1, reader.u.ds.header->signature,
|
(int)sizeof(pdb7) - 1, reader.u.ds.header->signature,
|
||||||
reader.u.ds.header->block_size,
|
reader.u.ds.header->block_size,
|
||||||
reader.u.ds.header->unknown1,
|
reader.u.ds.header->free_list_block,
|
||||||
reader.u.ds.header->num_blocks,
|
reader.u.ds.header->num_blocks,
|
||||||
reader.u.ds.header->toc_size,
|
reader.u.ds.header->toc_size,
|
||||||
reader.u.ds.header->unknown2,
|
reader.u.ds.header->unknown2,
|
||||||
|
|
Loading…
Reference in a new issue