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
7de0d82b
Commit
7de0d82b
authored
Mar 24, 2000
by
Eric Pouech
Committed by
Alexandre Julliard
Mar 24, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed basic type evaluation.
parent
361adc80
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
10 deletions
+7
-10
types.c
debugger/types.c
+7
-10
No files found.
debugger/types.c
View file @
7de0d82b
...
...
@@ -354,24 +354,21 @@ DEBUG_GetExprValue(const DBG_VALUE *_value, char ** format)
assert
(
_value
->
cookie
==
DV_TARGET
||
_value
->
cookie
==
DV_HOST
);
rtn
=
0
;
value
.
addr
.
seg
=
0
;
/* FIXME? I don't quite get this... */
/* FIXME? I don't quite get this...
* if this is wrong, value.addr shall be linearized
*/
value
.
addr
.
seg
=
0
;
assert
(
value
.
type
!=
NULL
);
switch
(
value
.
type
->
type
)
{
case
DT_BASIC
:
if
(
value
.
type
==
DEBUG_TypeIntConst
)
{
assert
(
_value
->
cookie
==
DV_HOST
);
rtn
=
*
(
int
*
)
value
.
addr
.
off
;
def_format
=
value
.
type
->
un
.
basic
.
output_format
;
break
;
}
rtn
=
0
;
/* FIXME: following code implies i386 byte ordering */
if
(
_value
->
cookie
==
DV_TARGET
)
{
if
(
!
DEBUG_READ_MEM_VERBOSE
((
void
*
)
value
.
addr
.
off
,
&
rtn
,
value
.
type
->
un
.
basic
.
basic_size
))
if
(
!
DEBUG_READ_MEM_VERBOSE
((
void
*
)
value
.
addr
.
off
,
&
rtn
,
value
.
type
->
un
.
basic
.
basic_size
))
return
0
;
}
else
{
memcpy
(
&
rtn
,
(
void
*
)
value
.
addr
.
off
,
value
.
type
->
un
.
basic
.
basic_size
);
...
...
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