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 /readline/undo.c | |
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 'readline/undo.c')
0 files changed, 0 insertions, 0 deletions