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
d7d84e71
Commit
d7d84e71
authored
Mar 12, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedbg: Don't name a function PRIVATE.
parent
ca5d2eab
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
tgt_minidump.c
programs/winedbg/tgt_minidump.c
+5
-5
No files found.
programs/winedbg/tgt_minidump.c
View file @
d7d84e71
...
...
@@ -79,7 +79,7 @@ struct tgt_process_minidump_data
HANDLE
hMap
;
};
static
inline
struct
tgt_process_minidump_data
*
PRIVATE
(
struct
dbg_process
*
pcs
)
static
inline
struct
tgt_process_minidump_data
*
private_data
(
struct
dbg_process
*
pcs
)
{
return
(
struct
tgt_process_minidump_data
*
)
pcs
->
pio_data
;
}
...
...
@@ -91,8 +91,8 @@ static BOOL WINAPI tgt_process_minidump_read(HANDLE hProcess, const void* addr,
MINIDUMP_DIRECTORY
*
dir
;
void
*
stream
;
if
(
!
PRIVATE
(
dbg_curr_process
)
->
mapping
)
return
FALSE
;
if
(
MiniDumpReadDumpStream
(
PRIVATE
(
dbg_curr_process
)
->
mapping
,
if
(
!
private_data
(
dbg_curr_process
)
->
mapping
)
return
FALSE
;
if
(
MiniDumpReadDumpStream
(
private_data
(
dbg_curr_process
)
->
mapping
,
MemoryListStream
,
&
dir
,
&
stream
,
&
size
))
{
MINIDUMP_MEMORY_LIST
*
mml
=
(
MINIDUMP_MEMORY_LIST
*
)
stream
;
...
...
@@ -107,7 +107,7 @@ static BOOL WINAPI tgt_process_minidump_read(HANDLE hProcess, const void* addr,
len
=
min
(
len
,
get_addr64
(
mmd
->
StartOfMemoryRange
)
+
mmd
->
Memory
.
DataSize
-
(
DWORD_PTR
)
addr
);
memcpy
(
buffer
,
(
char
*
)
PRIVATE
(
dbg_curr_process
)
->
mapping
+
mmd
->
Memory
.
Rva
+
(
DWORD_PTR
)
addr
-
get_addr64
(
mmd
->
StartOfMemoryRange
),
(
char
*
)
private_data
(
dbg_curr_process
)
->
mapping
+
mmd
->
Memory
.
Rva
+
(
DWORD_PTR
)
addr
-
get_addr64
(
mmd
->
StartOfMemoryRange
),
len
);
if
(
rlen
)
*
rlen
=
len
;
return
TRUE
;
...
...
@@ -444,7 +444,7 @@ enum dbg_start minidump_reload(int argc, char* argv[])
static
BOOL
tgt_process_minidump_close_process
(
struct
dbg_process
*
pcs
,
BOOL
kill
)
{
struct
tgt_process_minidump_data
*
data
=
PRIVATE
(
pcs
);
struct
tgt_process_minidump_data
*
data
=
private_data
(
pcs
);
cleanup
(
data
);
pcs
->
pio_data
=
NULL
;
...
...
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