This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb ChangeLog c-valprint.c value.c value.h ...
- From: palves at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 14 Feb 2011 11:33:24 -0000
- Subject: src/gdb ChangeLog c-valprint.c value.c value.h ...
CVSROOT: /cvs/src
Module name: src
Changes by: palves@sourceware.org 2011-02-14 11:33:24
Modified files:
gdb : ChangeLog c-valprint.c value.c value.h
gdb/testsuite : ChangeLog
gdb/testsuite/gdb.trace: unavailable.cc unavailable.exp
Log message:
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.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.12572&r2=1.12573
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/c-valprint.c.diff?cvsroot=src&r1=1.84&r2=1.85
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/value.c.diff?cvsroot=src&r1=1.131&r2=1.132
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/value.h.diff?cvsroot=src&r1=1.173&r2=1.174
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.2580&r2=1.2581
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.trace/unavailable.cc.diff?cvsroot=src&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.trace/unavailable.exp.diff?cvsroot=src&r1=1.3&r2=1.4