This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb ChangeLog c-valprint.c testsuite/Chang ...
- From: palves at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 2 Feb 2011 17:41:54 -0000
- Subject: src/gdb ChangeLog c-valprint.c testsuite/Chang ...
CVSROOT: /cvs/src
Module name: src
Changes by: palves@sourceware.org 2011-02-02 17:41:54
Modified files:
gdb : ChangeLog c-valprint.c
gdb/testsuite : ChangeLog
gdb/testsuite/gdb.cp: virtbase.cc virtbase.exp
Log message:
gdb/
* c-valprint.c (c_value_print): When doing virtual base pointer
adjustment, create a new value with adjusted contents rather than
changing the contents of the value being printed (and getting it
wrong).
gdb/testsuite/
* gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
(Virtual): New structs.
(virtual_o, virtual_middle_b): New globals.
* gdb.cp/virtbase.exp: New tests.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.12532&r2=1.12533
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/c-valprint.c.diff?cvsroot=src&r1=1.81&r2=1.82
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.2568&r2=1.2569
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.cp/virtbase.cc.diff?cvsroot=src&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.cp/virtbase.exp.diff?cvsroot=src&r1=1.6&r2=1.7