Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
d02040d9
Commit
d02040d9
authored
Feb 03, 2010
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Feb 08, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Add basic support for PVOID64.
parent
7f8279e1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
msc.c
dlls/dbghelp/msc.c
+8
-1
No files found.
dlls/dbghelp/msc.c
View file @
d02040d9
...
...
@@ -95,7 +95,7 @@ static void dump(const void* ptr, unsigned len)
* Process CodeView type information.
*/
#define MAX_BUILTIN_TYPES 0x0
480
#define MAX_BUILTIN_TYPES 0x0
604
#define FIRST_DEFINABLE_TYPE 0x1000
static
struct
symt
*
cv_basic_types
[
MAX_BUILTIN_TYPES
];
...
...
@@ -113,6 +113,7 @@ static struct cv_defined_module*cv_current_module;
static
void
codeview_init_basic_types
(
struct
module
*
module
)
{
struct
symt_udt
*
udt
;
/*
* These are the common builtin types that are used by VC++.
*/
...
...
@@ -169,6 +170,12 @@ static void codeview_init_basic_types(struct module* module)
cv_basic_types
[
T_32PINT8
]
=
&
symt_new_pointer
(
module
,
cv_basic_types
[
T_INT8
])
->
symt
;
cv_basic_types
[
T_32PUINT8
]
=
&
symt_new_pointer
(
module
,
cv_basic_types
[
T_UINT8
])
->
symt
;
cv_basic_types
[
T_32PHRESULT
]
=
&
symt_new_pointer
(
module
,
cv_basic_types
[
T_HRESULT
])
->
symt
;
/* The .pdb file can refer to 64 bit pointers values even on 32 bits applications. */
udt
=
symt_new_udt
(
module
,
"PVOID64"
,
8
,
UdtStruct
);
symt_add_udt_element
(
module
,
udt
,
"ptr64_low"
,
cv_basic_types
[
T_LONG
],
0
,
32
);
symt_add_udt_element
(
module
,
udt
,
"ptr64_high"
,
cv_basic_types
[
T_LONG
],
32
,
32
);
cv_basic_types
[
0x603
]
=
&
udt
->
symt
;
}
static
int
leaf_as_variant
(
VARIANT
*
v
,
const
unsigned
short
int
*
leaf
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment