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
0d7a6f13
Commit
0d7a6f13
authored
Apr 12, 2010
by
Eric Pouech
Committed by
Alexandre Julliard
Apr 13, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedbg: Describe pointer size in CPU backend structure.
parent
e9a31f27
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
2 deletions
+7
-2
be_alpha.c
programs/winedbg/be_alpha.c
+1
-0
be_cpu.h
programs/winedbg/be_cpu.h
+2
-1
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
debugger.h
programs/winedbg/debugger.h
+1
-1
No files found.
programs/winedbg/be_alpha.c
View file @
0d7a6f13
...
...
@@ -146,6 +146,7 @@ static int be_alpha_fetch_float(const struct dbg_lvalue* lvalue, unsigned size,
struct
backend_cpu
be_alpha
=
{
IMAGE_FILE_MACHINE_ALPHA
,
8
,
be_cpu_linearize
,
be_cpu_build_addr
,
be_alpha_get_addr
,
...
...
programs/winedbg/be_cpu.h
View file @
0d7a6f13
...
...
@@ -23,7 +23,8 @@ enum be_xpoint_type {be_xpoint_break, be_xpoint_watch_exec, be_xpoint_watch_read
be_xpoint_watch_write
};
struct
backend_cpu
{
DWORD
machine
;
const
DWORD
machine
;
const
DWORD
pointer_size
;
/* ------------------------------------------------------------------------------
* address manipulation
* ------------------------------------------------------------------------------ */
...
...
programs/winedbg/be_i386.c
View file @
0d7a6f13
...
...
@@ -738,6 +738,7 @@ static int be_i386_fetch_float(const struct dbg_lvalue* lvalue, unsigned size,
struct
backend_cpu
be_i386
=
{
IMAGE_FILE_MACHINE_I386
,
4
,
be_i386_linearize
,
be_i386_build_addr
,
be_i386_get_addr
,
...
...
programs/winedbg/be_ppc.c
View file @
0d7a6f13
...
...
@@ -170,6 +170,7 @@ static int be_ppc_fetch_float(const struct dbg_lvalue* lvalue, unsigned size,
struct
backend_cpu
be_ppc
=
{
IMAGE_FILE_MACHINE_POWERPC
,
4
,
be_cpu_linearize
,
be_cpu_build_addr
,
be_ppc_get_addr
,
...
...
programs/winedbg/be_x86_64.c
View file @
0d7a6f13
...
...
@@ -547,6 +547,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
,
8
,
be_cpu_linearize
,
be_cpu_build_addr
,
be_x86_64_get_addr
,
...
...
programs/winedbg/debugger.h
View file @
0d7a6f13
...
...
@@ -38,7 +38,7 @@
#include "objbase.h"
#include "oaidl.h"
#define ADDRSIZE (
(unsigned)sizeof(void*)
)
#define ADDRSIZE (
be_cpu->pointer_size
)
#define ADDRWIDTH (ADDRSIZE * 2)
/* the debugger uses these exceptions for it's internal use */
...
...
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