src/gdb ada-lang.c ChangeLog
brobecke@sourceware.org
brobecke@sourceware.org
Fri Dec 28 06:25:00 GMT 2007
CVSROOT: /cvs/src
Module name: src
Changes by: brobecke@sourceware.org 2007-12-28 06:25:56
Modified files:
gdb : ada-lang.c ChangeLog
Log message:
* ada-lang.c (ada_value_cast): New function, extracted out from
the code in ada_evaluate_subexp, case UNOP_CAST. The code handling
the obscure case has been removed as we think that it is actually
unnecessary.
(ada_evaluate_subexp): Add type case when evaluating an OP_DOUBLE
or an OP_LONG with a non-null expect_type. Replace extracted-out
code with call to new ada_value_cast function.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ada-lang.c.diff?cvsroot=src&r1=1.113&r2=1.114
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.9022&r2=1.9023
More information about the Gdb-cvs
mailing list