diff options
Diffstat (limited to 'gdb/valarith.c')
-rw-r--r-- | gdb/valarith.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/valarith.c b/gdb/valarith.c index 05ab8a13890..562be0cab1b 100644 --- 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 |