Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
f2223dbe
Commit
f2223dbe
authored
Dec 04, 2007
by
Andrew Talbot
Committed by
Alexandre Julliard
Dec 05, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Remove unneeded casts.
parent
77c8a159
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
12 deletions
+12
-12
dbghelp.c
dlls/dbghelp/dbghelp.c
+3
-3
module.c
dlls/dbghelp/module.c
+1
-1
msc.c
dlls/dbghelp/msc.c
+1
-1
stack.c
dlls/dbghelp/stack.c
+7
-7
No files found.
dlls/dbghelp/dbghelp.c
View file @
f2223dbe
...
...
@@ -214,7 +214,7 @@ BOOL WINAPI SymGetSearchPath(HANDLE hProcess, PSTR szSearchPath,
static
BOOL
WINAPI
process_invade_cb
(
PCSTR
name
,
ULONG
base
,
ULONG
size
,
PVOID
user
)
{
char
tmp
[
MAX_PATH
];
HANDLE
hProcess
=
(
HANDLE
)
user
;
HANDLE
hProcess
=
user
;
if
(
!
GetModuleFileNameExA
(
hProcess
,
(
HMODULE
)
base
,
tmp
,
sizeof
(
tmp
)))
...
...
@@ -320,7 +320,7 @@ BOOL WINAPI SymInitializeW(HANDLE hProcess, PCWSTR UserSearchPath, BOOL fInvadeP
if
(
check_live_target
(
pcs
))
{
if
(
fInvadeProcess
)
EnumerateLoadedModules
(
hProcess
,
process_invade_cb
,
(
void
*
)
hProcess
);
EnumerateLoadedModules
(
hProcess
,
process_invade_cb
,
hProcess
);
elf_synchronize_module_list
(
pcs
);
}
else
if
(
fInvadeProcess
)
...
...
@@ -488,7 +488,7 @@ static BOOL CALLBACK reg_cb64to32(HANDLE hProcess, ULONG action, ULONG64 data, U
FIXME
(
"No mapping for action %u
\n
"
,
action
);
return
FALSE
;
}
return
cb32
(
hProcess
,
action
,
(
PVOID
)
data32
,
(
PVOID
)
user32
);
return
cb32
(
hProcess
,
action
,
data32
,
(
PVOID
)
user32
);
}
/******************************************************************
...
...
dlls/dbghelp/module.c
View file @
f2223dbe
...
...
@@ -581,7 +581,7 @@ BOOL module_remove(struct process* pcs, struct module* module)
TRACE
(
"%s (%p)
\n
"
,
debugstr_w
(
module
->
module
.
ModuleName
),
module
);
hash_table_destroy
(
&
module
->
ht_symbols
);
hash_table_destroy
(
&
module
->
ht_types
);
HeapFree
(
GetProcessHeap
(),
0
,
(
char
*
)
module
->
sources
);
HeapFree
(
GetProcessHeap
(),
0
,
module
->
sources
);
HeapFree
(
GetProcessHeap
(),
0
,
module
->
addr_sorttab
);
HeapFree
(
GetProcessHeap
(),
0
,
module
->
dwarf2_info
);
pool_destroy
(
&
module
->
pool
);
...
...
dlls/dbghelp/msc.c
View file @
f2223dbe
...
...
@@ -174,7 +174,7 @@ static int numeric_leaf(int* value, const unsigned short int* leaf)
case
LF_USHORT
:
length
+=
2
;
*
value
=
*
(
const
unsigned
short
*
)
leaf
;
*
value
=
*
leaf
;
break
;
case
LF_LONG
:
...
...
dlls/dbghelp/stack.c
View file @
f2223dbe
...
...
@@ -552,15 +552,15 @@ BOOL WINAPI StackWalk64(DWORD MachineType, HANDLE hProcess, HANDLE hThread,
addr_32to64
(
&
frame32
.
AddrStack
,
&
frame64
->
AddrStack
);
addr_32to64
(
&
frame32
.
AddrBStore
,
&
frame64
->
AddrBStore
);
frame64
->
FuncTableEntry
=
frame32
.
FuncTableEntry
;
/* FIXME */
frame64
->
Params
[
0
]
=
(
ULONG
)
frame32
.
Params
[
0
];
frame64
->
Params
[
1
]
=
(
ULONG
)
frame32
.
Params
[
1
];
frame64
->
Params
[
2
]
=
(
ULONG
)
frame32
.
Params
[
2
];
frame64
->
Params
[
3
]
=
(
ULONG
)
frame32
.
Params
[
3
];
frame64
->
Params
[
0
]
=
frame32
.
Params
[
0
];
frame64
->
Params
[
1
]
=
frame32
.
Params
[
1
];
frame64
->
Params
[
2
]
=
frame32
.
Params
[
2
];
frame64
->
Params
[
3
]
=
frame32
.
Params
[
3
];
frame64
->
Far
=
frame32
.
Far
;
frame64
->
Virtual
=
frame32
.
Virtual
;
frame64
->
Reserved
[
0
]
=
(
ULONG
)
frame32
.
Reserved
[
0
];
frame64
->
Reserved
[
1
]
=
(
ULONG
)
frame32
.
Reserved
[
1
];
frame64
->
Reserved
[
2
]
=
(
ULONG
)
frame32
.
Reserved
[
2
];
frame64
->
Reserved
[
0
]
=
frame32
.
Reserved
[
0
];
frame64
->
Reserved
[
1
]
=
frame32
.
Reserved
[
1
];
frame64
->
Reserved
[
2
]
=
frame32
.
Reserved
[
2
];
/* we don't handle KdHelp */
frame64
->
KdHelp
.
Thread
=
0xC000FADE
;
frame64
->
KdHelp
.
ThCallbackStack
=
0x10
;
...
...
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