projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* valarith.c (value_binop): Handle BINOP_INTDIV
[deliverable/binutils-gdb.git]
/
gdb
/
valarith.c
diff --git
a/gdb/valarith.c
b/gdb/valarith.c
index 05ab8a1389024acb71096db820add6b86095fc26..562be0cab1bbe921ff58083403e6167ef9f8e42b 100644
(file)
--- a/
gdb/valarith.c
+++ b/
gdb/valarith.c
@@
-1033,6
+1033,7
@@
value_binop (struct value *arg1, struct value *arg2, enum exp_opcode op)
break;
case BINOP_DIV:
+ case BINOP_INTDIV:
v = v1 / v2;
break;
@@
-1152,6
+1153,7
@@
value_binop (struct value *arg1, struct value *arg2, enum exp_opcode op)
break;
case BINOP_DIV:
+ case BINOP_INTDIV:
if (v2 != 0)
v = v1 / v2;
else
This page took
0.026233 seconds
and
4
git commands to generate.