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
97d44dd3
Commit
97d44dd3
authored
Dec 12, 2009
by
Eric Pouech
Committed by
Alexandre Julliard
Dec 14, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Force 64bit module enumeration on all platforms.
parent
7daa50c0
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
6 deletions
+5
-6
debugger.h
programs/winedbg/debugger.h
+1
-1
gdbproxy.c
programs/winedbg/gdbproxy.c
+1
-1
info.c
programs/winedbg/info.c
+0
-1
winedbg.c
programs/winedbg/winedbg.c
+3
-3
No files found.
programs/winedbg/debugger.h
View file @
97d44dd3
...
...
@@ -458,7 +458,7 @@ extern struct dbg_thread* dbg_get_thread(struct dbg_process* p, DWORD tid);
extern
void
dbg_del_thread
(
struct
dbg_thread
*
t
);
extern
BOOL
dbg_init
(
HANDLE
hProc
,
const
WCHAR
*
in
,
BOOL
invade
);
extern
BOOL
dbg_load_module
(
HANDLE
hProc
,
HANDLE
hFile
,
const
WCHAR
*
name
,
DWORD_PTR
base
,
DWORD
size
);
extern
BOOL
dbg_get_debuggee_info
(
HANDLE
hProcess
,
IMAGEHLP_MODULE
*
imh_mod
);
extern
BOOL
dbg_get_debuggee_info
(
HANDLE
hProcess
,
IMAGEHLP_MODULE
64
*
imh_mod
);
extern
void
dbg_set_option
(
const
char
*
,
const
char
*
);
extern
void
dbg_start_interactive
(
HANDLE
hFile
);
extern
void
dbg_init_console
(
void
);
...
...
programs/winedbg/gdbproxy.c
View file @
97d44dd3
...
...
@@ -2186,7 +2186,7 @@ static BOOL gdb_startup(struct gdb_context* gdbctx, DEBUG_EVENT* de, unsigned fl
struct
sockaddr_in
s_addrs
;
unsigned
int
s_len
=
sizeof
(
s_addrs
);
struct
pollfd
pollfd
;
IMAGEHLP_MODULE
imh_mod
;
IMAGEHLP_MODULE
64
imh_mod
;
/* step 1: create socket for gdb connection request */
if
((
sock
=
socket
(
AF_INET
,
SOCK_STREAM
,
0
))
==
-
1
)
...
...
programs/winedbg/info.c
View file @
97d44dd3
...
...
@@ -146,7 +146,6 @@ static const char* get_symtype_str(const IMAGEHLP_MODULE64* mi)
struct
info_module
{
IMAGEHLP_MODULE64
*
mi
;
DWORD_PTR
_base
;
unsigned
num_alloc
;
unsigned
num_used
;
};
...
...
programs/winedbg/winedbg.c
View file @
97d44dd3
...
...
@@ -399,7 +399,7 @@ BOOL dbg_init(HANDLE hProc, const WCHAR* in, BOOL invade)
struct
mod_loader_info
{
HANDLE
handle
;
IMAGEHLP_MODULE
*
imh_mod
;
IMAGEHLP_MODULE
64
*
imh_mod
;
};
static
BOOL
CALLBACK
mod_loader_cb
(
PCSTR
mod_name
,
DWORD64
base
,
PVOID
ctx
)
...
...
@@ -408,13 +408,13 @@ static BOOL CALLBACK mod_loader_cb(PCSTR mod_name, DWORD64 base, PVOID ctx)
if
(
!
strcmp
(
mod_name
,
"<wine-loader>"
))
{
if
(
SymGetModuleInfo
(
mli
->
handle
,
base
,
mli
->
imh_mod
))
if
(
SymGetModuleInfo
64
(
mli
->
handle
,
base
,
mli
->
imh_mod
))
return
FALSE
;
/* stop enum */
}
return
TRUE
;
}
BOOL
dbg_get_debuggee_info
(
HANDLE
hProcess
,
IMAGEHLP_MODULE
*
imh_mod
)
BOOL
dbg_get_debuggee_info
(
HANDLE
hProcess
,
IMAGEHLP_MODULE
64
*
imh_mod
)
{
struct
mod_loader_info
mli
;
DWORD
opt
;
...
...
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