Commit 4c2cec55 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

dbghelp: Fieldlist.

- now that we have offset tables to type, we can cleanly parse the field-lists and remove the associated kludges - also adding internal structure for easing parameter sharing across functions (codeview_type_parse) - in mscvpdb.h, also reparated the type records that are referenced from other type records (union codeview_type_ref) from type records referenced by symbols (union codeview_type)
parent 633ab584
...@@ -294,7 +294,7 @@ union codeview_type ...@@ -294,7 +294,7 @@ union codeview_type
short int id; short int id;
short int count; short int count;
short int type; short int type;
short int field; short int fieldlist;
short int property; short int property;
struct p_string p_name; struct p_string p_name;
} enumeration_v1; } enumeration_v1;
...@@ -306,7 +306,7 @@ union codeview_type ...@@ -306,7 +306,7 @@ union codeview_type
short int count; short int count;
short int property; short int property;
unsigned int type; unsigned int type;
unsigned int field; unsigned int fieldlist;
struct p_string p_name; struct p_string p_name;
} enumeration_v2; } enumeration_v2;
...@@ -317,7 +317,7 @@ union codeview_type ...@@ -317,7 +317,7 @@ union codeview_type
short int count; short int count;
short int property; short int property;
unsigned int type; unsigned int type;
unsigned int field; unsigned int fieldlist;
char name[1]; char name[1];
} enumeration_v3; } enumeration_v3;
...@@ -325,13 +325,6 @@ union codeview_type ...@@ -325,13 +325,6 @@ union codeview_type
{ {
unsigned short int len; unsigned short int len;
short int id; short int id;
unsigned char list[1];
} fieldlist;
struct
{
unsigned short int len;
short int id;
unsigned short int rvtype; unsigned short int rvtype;
unsigned char call; unsigned char call;
unsigned char reserved; unsigned char reserved;
...@@ -379,6 +372,23 @@ union codeview_type ...@@ -379,6 +372,23 @@ union codeview_type
} mfunction_v2; } mfunction_v2;
}; };
union codeview_reftype
{
struct
{
unsigned short int len;
short int id;
} generic;
struct
{
unsigned short int len;
short int id;
unsigned char list[1];
} fieldlist;
};
union codeview_fieldtype union codeview_fieldtype
{ {
struct struct
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment