This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb ChangeLog valarith.c testsuite/ChangeL ...
- From: hilfingr at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 30 Jan 2008 07:28:16 -0000
- Subject: src/gdb ChangeLog valarith.c testsuite/ChangeL ...
CVSROOT: /cvs/src
Module name: src
Changes by: hilfingr@sourceware.org 2008-01-30 07:28:16
Modified files:
gdb : ChangeLog valarith.c
gdb/testsuite : ChangeLog
Added files:
gdb/testsuite/gdb.ada: exprs.exp
gdb/testsuite/gdb.ada/exprs: p.adb
Log message:
2008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
* valarith.c (value_binop): Add floating-point BINOP_MIN and
BINOP_MAX cases.
For BINOP_EXP, use length and signedness of left operand only for
result, as for shifts.
For integral operands to BINOP_EXP, use new integer_pow and
uinteger_pow functions so as to get full range of results.
(integer_pow): New function.
(uinteger_pow): New function.
2008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
* gdb.ada/exprs: New test program.
* gdb.ada/exprs.exp: New testcase.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.9118&r2=1.9119
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/valarith.c.diff?cvsroot=src&r1=1.55&r2=1.56
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.1551&r2=1.1552
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.ada/exprs.exp.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.ada/exprs/p.adb.diff?cvsroot=src&r1=NONE&r2=1.1