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
10eba878
Commit
10eba878
authored
Dec 08, 2021
by
Eric Pouech
Committed by
Alexandre Julliard
Dec 08, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedbg: Add bitfield capability to dbg_lvalue.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ef3fca0c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
debugger.h
programs/winedbg/debugger.h
+7
-1
No files found.
programs/winedbg/debugger.h
View file @
10eba878
...
...
@@ -117,7 +117,9 @@ struct dbg_type
struct
dbg_lvalue
/* structure to hold left-values... */
{
unsigned
in_debuggee
:
1
;
/* 1 = debuggee address space, 0 = debugger address space */
unsigned
in_debuggee
:
1
,
/* 1 = debuggee address space, 0 = debugger address space */
bitstart
:
8
,
/* in fact, 7 should be sufficient for underlying 128bit integers */
bitlen
;
ADDRESS64
addr
;
struct
dbg_type
type
;
};
...
...
@@ -125,6 +127,8 @@ struct dbg_lvalue /* structure to hold left-values... */
static
inline
void
init_lvalue
(
struct
dbg_lvalue
*
lv
,
BOOL
in_debuggee
,
void
*
addr
)
{
lv
->
in_debuggee
=
!!
in_debuggee
;
lv
->
bitstart
=
0
;
lv
->
bitlen
=
0
;
lv
->
addr
.
Mode
=
AddrModeFlat
;
lv
->
addr
.
Offset
=
(
DWORD_PTR
)
addr
;
lv
->
type
.
module
=
0
;
...
...
@@ -134,6 +138,8 @@ static inline void init_lvalue(struct dbg_lvalue* lv, BOOL in_debuggee, void* ad
static
inline
void
init_lvalue_in_debugger
(
struct
dbg_lvalue
*
lv
,
enum
dbg_internal_types
it
,
void
*
addr
)
{
lv
->
in_debuggee
=
0
;
lv
->
bitstart
=
0
;
lv
->
bitlen
=
0
;
lv
->
addr
.
Mode
=
AddrModeFlat
;
lv
->
addr
.
Offset
=
(
DWORD_PTR
)
addr
;
lv
->
type
.
module
=
0
;
...
...
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