diff options
author | Pierre-Marie de Rodat <derodat@adacore.com> | 2015-04-03 10:40:52 +0200 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2015-04-03 15:23:49 +0200 |
commit | 961f41602529c9cd4f88af6c02fb61fb55100e27 (patch) | |
tree | ab5bd15848547f9a17611ed90c7b7a43b9ecfcff /gdb/ChangeLog | |
parent | cbf0179287a799be27e278a41f7705d4c20d9f11 (diff) | |
download | gdb-961f41602529c9cd4f88af6c02fb61fb55100e27.zip gdb-961f41602529c9cd4f88af6c02fb61fb55100e27.tar.gz gdb-961f41602529c9cd4f88af6c02fb61fb55100e27.tar.bz2 |
Do not consider reference types as dynamic
Even when referenced types are dynamic, the corresponding referencing
type should not be considered as dynamic: it's only a pointer. This
prevents reference type for values not in memory to be resolved.
gdb/ChangeLog:
* gdbtypes.c (is_dynamic_type_internal): Remove special handling
of TYPE_CODE_REF types so that they are not considered as
dynamic depending on the referenced type.
(resolve_dynamic_type_internal): Likewise.
gdb/testsuite/ChangeLog:
* gdb.ada/funcall_ref.exp: New file.
* gdb.ada/funcall_ref/foo.adb: New file.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 73108a1..d8a684f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com> + + * gdbtypes.c (is_dynamic_type_internal): Remove special handling of + TYPE_CODE_REF types so that they are not considered as dynamic + depending on the referenced type. + (resolve_dynamic_type_internal): Likewise. + 2015-04-02 H.J. Lu <hongjiu.lu@intel.com> * Makefile.in (top_srcdir): New. |