diff options
author | Joel Brobecker <brobecker@gnat.com> | 2007-12-28 06:25:56 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2007-12-28 06:25:56 +0000 |
commit | 6e48bd2c90889f85506f8242209cd2b7e1d65dd1 (patch) | |
tree | 135ed8750c9322ff7323c646ad7da715eba06357 /gdb/scm-lang.h | |
parent | 6943e5962a6d125ca25efdcb5e5b13884a66bb56 (diff) | |
download | gdb-6e48bd2c90889f85506f8242209cd2b7e1d65dd1.zip gdb-6e48bd2c90889f85506f8242209cd2b7e1d65dd1.tar.gz gdb-6e48bd2c90889f85506f8242209cd2b7e1d65dd1.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/scm-lang.h')
0 files changed, 0 insertions, 0 deletions