aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2008-02-04 00:23:05 +0000
committerDoug Evans <dje@google.com>2008-02-04 00:23:05 +0000
commit301f0ecf99facbe3fd62ccefbc69a3dd3acc7235 (patch)
tree412062f600c084e692c054aed6b904527f6eac46 /gdb/ChangeLog
parente44a2c9c3dd1e12fd2707c6407d3763fa8acae17 (diff)
downloadgdb-301f0ecf99facbe3fd62ccefbc69a3dd3acc7235.zip
gdb-301f0ecf99facbe3fd62ccefbc69a3dd3acc7235.tar.gz
gdb-301f0ecf99facbe3fd62ccefbc69a3dd3acc7235.tar.bz2
* eval.c (evaluate_subexp_standard): Fix type of result of mixed
integer/float division operations when EVAL_AVOID_SIDE_EFFECTS. * valops.c (value_one): New function. * value.h (value_one): Declare. Fix argument promotion for binary arithmetic ops for C. * valarith.c (unop_result_type): New fn. (binop_result_type): New fn. (value_binop): Move result type computation to binop_result_type. (value_pos, value_neg, value_complement): Move result type computation to unop_result_type. * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog12
1 files changed, 12 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 59c4f26..e100a1a 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,17 @@
2008-02-03 Doug Evans <dje@google.com>
+ * eval.c (evaluate_subexp_standard): Fix type of result of mixed
+ integer/float division operations when EVAL_AVOID_SIDE_EFFECTS.
+ * valops.c (value_one): New function.
+ * value.h (value_one): Declare.
+
+ Fix argument promotion for binary arithmetic ops for C.
+ * valarith.c (unop_result_type): New fn.
+ (binop_result_type): New fn.
+ (value_binop): Move result type computation to binop_result_type.
+ (value_pos, value_neg, value_complement): Move result type
+ computation to unop_result_type.
+
PR 2384
* gdbtypes.c (get_vptr_fieldno): Renamed from fill_in_vptr_fieldno.
Return basetype, fieldno if found. All callers updated.