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
a775d41c
Commit
a775d41c
authored
Dec 22, 2009
by
Eric Pouech
Committed by
Alexandre Julliard
Dec 22, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedbg: Push the correct machine type to StackWalk.
parent
b615656f
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
1 deletion
+6
-1
be_alpha.c
programs/winedbg/be_alpha.c
+1
-0
be_cpu.h
programs/winedbg/be_cpu.h
+1
-0
be_i386.c
programs/winedbg/be_i386.c
+1
-0
be_ppc.c
programs/winedbg/be_ppc.c
+1
-0
be_x86_64.c
programs/winedbg/be_x86_64.c
+1
-0
stack.c
programs/winedbg/stack.c
+1
-1
No files found.
programs/winedbg/be_alpha.c
View file @
a775d41c
...
...
@@ -151,6 +151,7 @@ static int be_alpha_fetch_float(const struct dbg_lvalue* lvalue, unsigned size,
struct
backend_cpu
be_alpha
=
{
IMAGE_FILE_MACHINE_ALPHA
,
be_cpu_linearize
,
be_cpu_build_addr
,
be_alpha_get_addr
,
...
...
programs/winedbg/be_cpu.h
View file @
a775d41c
...
...
@@ -23,6 +23,7 @@ enum be_xpoint_type {be_xpoint_break, be_xpoint_watch_exec, be_xpoint_watch_read
be_xpoint_watch_write
};
struct
backend_cpu
{
DWORD
machine
;
/* ------------------------------------------------------------------------------
* address manipulation
* ------------------------------------------------------------------------------ */
...
...
programs/winedbg/be_i386.c
View file @
a775d41c
...
...
@@ -746,6 +746,7 @@ static int be_i386_fetch_float(const struct dbg_lvalue* lvalue, unsigned size,
struct
backend_cpu
be_i386
=
{
IMAGE_FILE_MACHINE_I386
,
be_i386_linearize
,
be_i386_build_addr
,
be_i386_get_addr
,
...
...
programs/winedbg/be_ppc.c
View file @
a775d41c
...
...
@@ -175,6 +175,7 @@ static int be_ppc_fetch_float(const struct dbg_lvalue* lvalue, unsigned size,
struct
backend_cpu
be_ppc
=
{
IMAGE_FILE_MACHINE_POWERPC
,
be_cpu_linearize
,
be_cpu_build_addr
,
be_ppc_get_addr
,
...
...
programs/winedbg/be_x86_64.c
View file @
a775d41c
...
...
@@ -376,6 +376,7 @@ static int be_x86_64_fetch_float(const struct dbg_lvalue* lvalue, unsigned size,
struct
backend_cpu
be_x86_64
=
{
IMAGE_FILE_MACHINE_AMD64
,
be_cpu_linearize
,
be_cpu_build_addr
,
be_x86_64_get_addr
,
...
...
programs/winedbg/stack.c
View file @
a775d41c
...
...
@@ -186,7 +186,7 @@ unsigned stack_fetch_frames(void)
sf
.
AddrFrame
.
Mode
=
AddrModeFlat
;
}
while
(
StackWalk64
(
IMAGE_FILE_MACHINE_I386
,
dbg_curr_process
->
handle
,
while
(
StackWalk64
(
be_cpu
->
machine
,
dbg_curr_process
->
handle
,
dbg_curr_thread
->
handle
,
&
sf
,
&
ctx
,
stack_read_mem
,
SymFunctionTableAccess64
,
SymGetModuleBase64
,
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