dbghelp, winedump: Added definition for S_FRAMEPROC_V2 symbol (CodeView).

This commit is contained in:
Eric Pouech 2011-01-18 21:49:47 +01:00 committed by Alexandre Julliard
parent 60fbda43cb
commit 67a55feeaf
3 changed files with 17 additions and 19 deletions

View File

@ -1935,7 +1935,7 @@ static int codeview_snarf(const struct msc_debug_info* msc_dbg, const BYTE* root
/* the symbols we can safely ignore for now */ /* the symbols we can safely ignore for now */
case 0x112c: case 0x112c:
case S_FUNCINFO_V2: case S_FRAMEINFO_V2:
case S_SECUCOOKIE_V3: case S_SECUCOOKIE_V3:
case S_SECTINFO_V3: case S_SECTINFO_V3:
case S_SUBSECTINFO_V3: case S_SUBSECTINFO_V3:

View File

@ -1568,15 +1568,14 @@ union codeview_symbol
{ {
short int len; short int len;
short int id; short int id;
unsigned int unknown1; /* maybe size (of what ?) */ unsigned int sz_frame; /* size of frame */
unsigned int unknown2; unsigned int unknown2;
unsigned int unknown3; unsigned int unknown3;
unsigned int unknown4; /* maybe size (of what ?) */ unsigned int sz_saved_regs; /* size of saved registers from callee */
unsigned int unknown5; /* maybe address <offset and segment> (of what ?) */ unsigned int eh_offset; /* offset for exception handler */
unsigned short unknown6; unsigned short eh_sect; /* section for exception handler */
unsigned short flags; unsigned int flags;
unsigned int unknown7; } frame_info_v2;
} func_info_v2;
}; };
#define S_COMPILAND_V1 0x0001 #define S_COMPILAND_V1 0x0001
@ -1630,7 +1629,7 @@ union codeview_symbol
#define S_REGREL_V2 0x100d #define S_REGREL_V2 0x100d
#define S_LTHREAD_V2 0x100e #define S_LTHREAD_V2 0x100e
#define S_GTHREAD_V2 0x100f #define S_GTHREAD_V2 0x100f
#define S_FUNCINFO_V2 0x1012 #define S_FRAMEINFO_V2 0x1012
#define S_COMPILAND_V2 0x1013 #define S_COMPILAND_V2 0x1013
#define S_COMPILAND_V3 0x1101 #define S_COMPILAND_V3 0x1101

View File

@ -1101,16 +1101,15 @@ int codeview_dump_symbols(const void* root, unsigned long size)
break; break;
/* Additional function information */ /* Additional function information */
case S_FUNCINFO_V2: case S_FRAMEINFO_V2:
printf("\tFunction info V2 unk1:%x unk2:%x unk3:%x unk4:%x unk5:%x unk6:%x flags:%04x unk7:%x\n", printf("\tS-Frame-Info V2: frame-size:%x unk2:%x unk3:%x saved-regs-sz:%x eh(%04x:%08x) flags:%08x\n",
sym->func_info_v2.unknown1, sym->frame_info_v2.sz_frame,
sym->func_info_v2.unknown2, sym->frame_info_v2.unknown2,
sym->func_info_v2.unknown3, sym->frame_info_v2.unknown3,
sym->func_info_v2.unknown4, sym->frame_info_v2.sz_saved_regs,
sym->func_info_v2.unknown5, sym->frame_info_v2.eh_sect,
sym->func_info_v2.unknown6, sym->frame_info_v2.eh_offset,
sym->func_info_v2.flags, sym->frame_info_v2.flags);
sym->func_info_v2.unknown7);
break; break;
case S_SECUCOOKIE_V3: case S_SECUCOOKIE_V3: