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
580cab9d
Commit
580cab9d
authored
Oct 09, 2010
by
Eric Pouech
Committed by
Alexandre Julliard
Oct 11, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: A couple of fixes for 64bit msvc debug info compatibility.
parent
b1641554
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
msc.c
dlls/dbghelp/msc.c
+7
-7
No files found.
dlls/dbghelp/msc.c
View file @
580cab9d
...
...
@@ -1324,7 +1324,7 @@ static int codeview_parse_type_table(struct codeview_type_parse* ctp)
/*========================================================================
* Process CodeView line number information.
*/
static
unsigned
codeview_get_address
(
const
struct
msc_debug_info
*
msc_dbg
,
static
unsigned
long
codeview_get_address
(
const
struct
msc_debug_info
*
msc_dbg
,
unsigned
seg
,
unsigned
offset
);
static
void
codeview_snarf_linetab
(
const
struct
msc_debug_info
*
msc_dbg
,
const
BYTE
*
linetab
,
...
...
@@ -1338,7 +1338,7 @@ static void codeview_snarf_linetab(const struct msc_debug_info* msc_dbg, const B
const
unsigned
short
*
linenos
;
const
struct
startend
*
start
;
unsigned
source
;
unsigned
addr
,
func_addr0
;
unsigned
long
addr
,
func_addr0
;
struct
symt_function
*
func
;
const
struct
codeview_linetab_block
*
ltb
;
...
...
@@ -1379,7 +1379,7 @@ static void codeview_snarf_linetab(const struct msc_debug_info* msc_dbg, const B
/* FIXME: at least labels support line numbers */
if
(
!
func
||
func
->
symt
.
tag
!=
SymTagFunction
)
{
WARN
(
"--not a func at %04x:%08x %x tag=%d
\n
"
,
WARN
(
"--not a func at %04x:%08x %
l
x tag=%d
\n
"
,
ltb
->
seg
,
ltb
->
offsets
[
k
],
addr
,
func
?
func
->
symt
.
tag
:
-
1
);
func
=
NULL
;
break
;
...
...
@@ -1396,7 +1396,7 @@ static void codeview_snarf_linetab2(const struct msc_debug_info* msc_dbg, const
const
char
*
strimage
,
DWORD
strsize
)
{
unsigned
i
;
DWORD
addr
;
DWORD
_PTR
addr
;
const
struct
codeview_linetab2
*
lt2
;
const
struct
codeview_linetab2
*
lt2_files
=
NULL
;
const
struct
codeview_lt2blk_lines
*
lines_blk
;
...
...
@@ -1440,7 +1440,7 @@ static void codeview_snarf_linetab2(const struct msc_debug_info* msc_dbg, const
/* FIXME: at least labels support line numbers */
if
(
!
func
||
func
->
symt
.
tag
!=
SymTagFunction
)
{
WARN
(
"--not a func at %04x:%08x %x tag=%d
\n
"
,
WARN
(
"--not a func at %04x:%08x %
l
x tag=%d
\n
"
,
lines_blk
->
seg
,
lines_blk
->
start
,
addr
,
func
?
func
->
symt
.
tag
:
-
1
);
break
;
}
...
...
@@ -1483,7 +1483,7 @@ static unsigned int codeview_map_offset(const struct msc_debug_info* msc_dbg,
return
0
;
}
static
unsigned
codeview_get_address
(
const
struct
msc_debug_info
*
msc_dbg
,
static
unsigned
long
codeview_get_address
(
const
struct
msc_debug_info
*
msc_dbg
,
unsigned
seg
,
unsigned
offset
)
{
int
nsect
=
msc_dbg
->
nsect
;
...
...
@@ -1502,7 +1502,7 @@ static inline void codeview_add_variable(const struct msc_debug_info* msc_dbg,
{
if
(
name
&&
*
name
)
{
unsigned
address
=
codeview_get_address
(
msc_dbg
,
segment
,
offset
);
unsigned
long
address
=
codeview_get_address
(
msc_dbg
,
segment
,
offset
);
if
(
force
||
!
symt_find_nearest
(
msc_dbg
->
module
,
address
))
{
...
...
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