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
dadd1080
Commit
dadd1080
authored
Mar 18, 2006
by
Eric Pouech
Committed by
Alexandre Julliard
Mar 18, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Fixes for NB11 types.
- when checking debug info in NB09 or NB11 format (CodeView), try to load the global types section
parent
9e657331
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
2 deletions
+27
-2
msc.c
dlls/dbghelp/msc.c
+27
-2
No files found.
dlls/dbghelp/msc.c
View file @
dadd1080
...
...
@@ -2100,12 +2100,36 @@ static BOOL codeview_process_info(const struct process* pcs,
unsigned
int
i
;
codeview_init_basic_types
(
msc_dbg
->
module
);
for
(
i
=
0
;
i
<
hdr
->
cDir
;
i
++
)
{
ent
=
(
const
CV_DIRECTORY_ENTRY
*
)((
const
BYTE
*
)
hdr
+
hdr
->
cbDirHeader
+
i
*
hdr
->
cbDirEntry
);
if
(
ent
->
subsection
==
sstGlobalTypes
)
{
const
CV_ENTRY_GLOBAL_TYPES
*
types
;
struct
codeview_type_parse
ctp
;
types
=
(
const
CV_ENTRY_GLOBAL_TYPES
*
)(
msc_dbg
->
root
+
ent
->
lfo
);
ctp
.
module
=
msc_dbg
->
module
;
ctp
.
offset
=
(
const
DWORD
*
)(
types
+
1
);
ctp
.
num
=
types
->
cTypes
;
ctp
.
table
=
(
const
BYTE
*
)(
ctp
.
offset
+
types
->
cTypes
);
cv_current_module
=
&
cv_zmodules
[
0
];
if
(
cv_current_module
->
allowed
)
FIXME
(
"Already allowed ??
\n
"
);
cv_current_module
->
allowed
=
TRUE
;
codeview_parse_type_table
(
&
ctp
);
break
;
}
}
ent
=
(
const
CV_DIRECTORY_ENTRY
*
)((
const
BYTE
*
)
hdr
+
hdr
->
cbDirHeader
);
for
(
i
=
0
;
i
<
hdr
->
cDir
;
i
++
,
ent
=
next
)
{
next
=
(
i
==
hdr
->
cDir
-
1
)
?
NULL
:
next
=
(
i
==
hdr
->
cDir
-
1
)
?
NULL
:
(
const
CV_DIRECTORY_ENTRY
*
)((
const
BYTE
*
)
ent
+
hdr
->
cbDirEntry
);
prev
=
(
i
==
0
)
?
NULL
:
prev
=
(
i
==
0
)
?
NULL
:
(
const
CV_DIRECTORY_ENTRY
*
)((
const
BYTE
*
)
ent
-
hdr
->
cbDirEntry
);
if
(
ent
->
subsection
==
sstAlignSym
)
...
...
@@ -2137,6 +2161,7 @@ static BOOL codeview_process_info(const struct process* pcs,
}
msc_dbg
->
module
->
module
.
SymType
=
SymCv
;
codeview_clear_type_table
();
ret
=
TRUE
;
break
;
}
...
...
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