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
c8006d07
Commit
c8006d07
authored
Nov 26, 2021
by
Eric Pouech
Committed by
Alexandre Julliard
Nov 26, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedbg: Use debuggee pointer size when extracting typed value.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
16fb9640
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
types.c
programs/winedbg/types.c
+2
-1
winedbg.c
programs/winedbg/winedbg.c
+0
-1
No files found.
programs/winedbg/types.c
View file @
c8006d07
...
...
@@ -105,7 +105,8 @@ LONGLONG types_extract_as_longlong(const struct dbg_lvalue* lvalue,
if
(
issigned
)
*
issigned
=
s
;
break
;
case
SymTagPointerType
:
if
(
!
dbg_curr_process
->
be_cpu
->
fetch_integer
(
lvalue
,
sizeof
(
void
*
),
s
=
FALSE
,
&
rtn
))
if
(
!
types_get_info
(
&
type
,
TI_GET_LENGTH
,
&
size
)
||
!
dbg_curr_process
->
be_cpu
->
fetch_integer
(
lvalue
,
(
unsigned
)
size
,
s
=
FALSE
,
&
rtn
))
RaiseException
(
DEBUG_STATUS_INTERNAL_ERROR
,
0
,
0
,
NULL
);
break
;
case
SymTagArrayType
:
...
...
programs/winedbg/winedbg.c
View file @
c8006d07
...
...
@@ -44,7 +44,6 @@
* - type management:
* + some bits of internal types are missing (like type casts and the address
* operator)
* + most of the code implies that sizeof(void*) = sizeof(int)
* + all computations should be made on long long
* o expr computations are in int:s
* o bitfield size is on a 4-bytes
...
...
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