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
3b50d211
Commit
3b50d211
authored
May 24, 1999
by
Eric Pouech
Committed by
Alexandre Julliard
May 24, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a few typos.
parent
cb0f1a9c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
9 deletions
+6
-9
expr.c
debugger/expr.c
+6
-9
No files found.
debugger/expr.c
View file @
3b50d211
...
@@ -9,15 +9,10 @@
...
@@ -9,15 +9,10 @@
#include <stdlib.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdio.h>
#include <string.h>
#include <string.h>
#include <limits.h>
#include <assert.h>
#include <sys/types.h>
#include <neexe.h>
#include "wine/winbase16.h"
#include "wine/winbase16.h"
#include "module.h"
#include "task.h"
#include "task.h"
#include "selectors.h"
#include "debugger.h"
#include "debugger.h"
#include "expr.h"
#include "expr.h"
#include <stdarg.h>
#include <stdarg.h>
...
@@ -131,6 +126,8 @@ DEBUG_GetFreeExpr()
...
@@ -131,6 +126,8 @@ DEBUG_GetFreeExpr()
rtn
=
(
struct
expr
*
)
&
expr_list
[
next_expr_free
];
rtn
=
(
struct
expr
*
)
&
expr_list
[
next_expr_free
];
next_expr_free
+=
sizeof
(
struct
expr
);
next_expr_free
+=
sizeof
(
struct
expr
);
assert
(
next_expr_free
<
sizeof
(
expr_list
));
return
rtn
;
return
rtn
;
}
}
...
@@ -388,7 +385,7 @@ DEBUG_EvalExpr(struct expr * exp)
...
@@ -388,7 +385,7 @@ DEBUG_EvalExpr(struct expr * exp)
{
{
fprintf
(
stderr
,
"Failed to find symbol
\n
"
);
fprintf
(
stderr
,
"Failed to find symbol
\n
"
);
break
;
break
;
}
;
}
fptr
=
(
int
(
*
)())
rtn
.
off
;
fptr
=
(
int
(
*
)())
rtn
.
off
;
switch
(
exp
->
un
.
call
.
nargs
)
switch
(
exp
->
un
.
call
.
nargs
)
...
@@ -606,7 +603,7 @@ DEBUG_EvalExpr(struct expr * exp)
...
@@ -606,7 +603,7 @@ DEBUG_EvalExpr(struct expr * exp)
{
{
rtn
.
type
=
DEBUG_TypeInt
;
rtn
.
type
=
DEBUG_TypeInt
;
}
}
switch
(
exp
->
un
.
binop
.
bi
nop_type
)
switch
(
exp
->
un
.
unop
.
u
nop_type
)
{
{
case
EXP_OP_NEG
:
case
EXP_OP_NEG
:
rtn
.
seg
=
0
;
rtn
.
seg
=
0
;
...
@@ -775,7 +772,7 @@ DEBUG_DisplayExpr(struct expr * exp)
...
@@ -775,7 +772,7 @@ DEBUG_DisplayExpr(struct expr * exp)
fprintf
(
stderr
,
" )"
);
fprintf
(
stderr
,
" )"
);
break
;
break
;
case
EXPR_TYPE_UNOP
:
case
EXPR_TYPE_UNOP
:
switch
(
exp
->
un
.
binop
.
bi
nop_type
)
switch
(
exp
->
un
.
unop
.
u
nop_type
)
{
{
case
EXP_OP_NEG
:
case
EXP_OP_NEG
:
fprintf
(
stderr
,
"-"
);
fprintf
(
stderr
,
"-"
);
...
...
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