diff options
author | Pedro Alves <palves@redhat.com> | 2011-02-14 11:33:24 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2011-02-14 11:33:24 +0000 |
commit | ec0a52e16206a31867fdcc5535c42baca7bf8967 (patch) | |
tree | 3f8b2d7194b672c5c155f9931635fda2fa2fc142 /gdb/testsuite/ChangeLog | |
parent | 24e6bceefbdf681e3e4101a44835a29afe33f902 (diff) | |
download | fsf-binutils-gdb-ec0a52e16206a31867fdcc5535c42baca7bf8967.zip fsf-binutils-gdb-ec0a52e16206a31867fdcc5535c42baca7bf8967.tar.gz fsf-binutils-gdb-ec0a52e16206a31867fdcc5535c42baca7bf8967.tar.bz2 |
gdb/testsuite/
* gdb.trace/unavailable.cc (struct Virtual): New.
(virtualp): New global pointer.
* gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
printing a pointer to an object whose type has a vtable, with
print object on.
gdb/
* value.h (value_entirely_available): Declare.
* value.c (value_entirely_available): New function.
* c-valprint.c (c_value_print): Don't try fetching the pointer's
real type if the pointer is unavailable.
Diffstat (limited to 'gdb/testsuite/ChangeLog')
-rw-r--r-- | gdb/testsuite/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index a9a19c9..d2b877b 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,5 +1,13 @@ 2011-02-14 Pedro Alves <pedro@codesourcery.com> + * gdb.trace/unavailable.cc (struct Virtual): New. + (virtualp): New global pointer. + * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test + printing a pointer to an object whose type has a vtable, with + print object on. + +2011-02-14 Pedro Alves <pedro@codesourcery.com> + * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that value repeat handles unavailableness. |