]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/ada-lang.c
Add proper handling for internal functions and STT_GNU_IFUNC symbols in Ada mode.
authorPaul N. Hilfinger <hilfinger@adacore.com>
Sat, 21 Apr 2012 22:12:59 +0000 (22:12 +0000)
committerPaul N. Hilfinger <hilfinger@adacore.com>
Sat, 21 Apr 2012 22:12:59 +0000 (22:12 +0000)
commitc8ea197278008d76c7a04fa2813ce470a5f34072
tree9eed7e5178665287c46ab67d818361cf6c4e7559
parent8d1b3521dbd074e72764e19fb7c9b430a968e664
Add proper handling for internal functions and STT_GNU_IFUNC symbols in Ada mode.

The code for handling calls to internal functions (esp., Python
functions) and for handling STT_GNU_IFUNC had not been added to the Ada
expression evaluator.  This change adapts them from eval.c.

gdb/Changelog:

        * ada-lang.c (ada_evaluate_subexp): Add cases for
          TYPE_CODE_INTERNAL_FUNCTION and for TYPE_GNU_IFUNC, following
          their treatment in eval.c.
gdb/ChangeLog
gdb/ada-lang.c