This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb ChangeLog cp-valprint.c value.c value.h
- From: palves at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 25 Jan 2011 15:18:36 -0000
- Subject: src/gdb ChangeLog cp-valprint.c value.c value.h
CVSROOT: /cvs/src
Module name: src
Changes by: palves@sourceware.org 2011-01-25 15:18:36
Modified files:
gdb : ChangeLog cp-valprint.c value.c value.h
Log message:
* cp-valprint.c (cp_print_value): Treat the 'skip' local as
boolean. Make sure to always pass a value that matches the
contents buffer to callees. Preserve `address' for following
iterations.
* value.c (value_contents_for_printing_const): New.
(value_address): Constify value argument.
* value.h (value_contents_for_printing_const): Declare.
(value_address): Constify value argument.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.12499&r2=1.12500
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/cp-valprint.c.diff?cvsroot=src&r1=1.74&r2=1.75
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/value.c.diff?cvsroot=src&r1=1.124&r2=1.125
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/value.h.diff?cvsroot=src&r1=1.167&r2=1.168