]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb/fortran: Add new function to evaluate Fortran expressions
authorAndrew Burgess <andrew.burgess@embecosm.com>
Wed, 16 Jan 2019 16:16:59 +0000 (16:16 +0000)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Wed, 6 Mar 2019 18:11:31 +0000 (18:11 +0000)
commit9dad4a58a1bddeb1cc2ec8b3782d7463b03b7b4b
treea58d6c8c8aa45f0354de9372683c1256774709d4
parentc8f9160408315deceee5e8776f0b1c4d9cba4398
gdb/fortran: Add new function to evaluate Fortran expressions

This is an initial restructure, it adds a new function in which
Fortran specific expressions can be evaluated.  No Fortran specific
expressions are added with this commit though, so for now, the new
function just forwards all expressions to the default expression
handler, as such, there should be no user visible changes after this
commit.  However, the new function will be useful in later commits.

gdb/ChangeLog:

* f-lang.c (evaluate_subexp_f): New function.
(exp_descriptor_f): New global.
(f_language_defn): Use exp_descriptor_f instead of
exp_descriptor_standard.
gdb/ChangeLog
gdb/f-lang.c