diff options
author | Joel Brobecker <brobecker@gnat.com> | 2011-07-01 18:26:22 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2011-07-01 18:26:22 +0000 |
commit | f5aa6869dee6874a9d1a3a386b1d5893f0ac46d4 (patch) | |
tree | 0098e3bc7f01558d16d658f54cf62df7416462b9 /gdb/ChangeLog | |
parent | 8f465ea731ea6181bdbc86b36dc2df0b9b1f8520 (diff) | |
download | gdb-f5aa6869dee6874a9d1a3a386b1d5893f0ac46d4.zip gdb-f5aa6869dee6874a9d1a3a386b1d5893f0ac46d4.tar.gz gdb-f5aa6869dee6874a9d1a3a386b1d5893f0ac46d4.tar.bz2 |
missing type description for typedef to pointer value
If we evaluate an expression that results in a value that is a typedef
to pointer, then the debugger fails to print the type description
before printing the actual value:
(gdb) print e.plan(1)
$1 = 0x0
The expected output is:
(gdb) print e.plan(1)
$1 = (access integer) 0x0
gdb/ChangeLog:
* ada-valprint.c (ada_value_print): Handle typedefs.
gdb/testsuite/ChangeLog:
* gdb.ada/ptr_typedef: New testcase.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 21b7b2e..c1e7769 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2011-07-01 Joel Brobecker <brobecker@adacore.com> + * ada-valprint.c (ada_value_print): Handle typedefs. + +2011-07-01 Joel Brobecker <brobecker@adacore.com> + * ada-lang.c (ada_evaluate_subexp): Add missing word in comment. 2011-07-01 Eric Botcazou <ebotcazou@adacore.com> |