* cp-valprint.c (cp_print_value): Treat the 'skip' local as
authorPedro Alves <palves@redhat.com>
Tue, 25 Jan 2011 15:18:36 +0000 (15:18 +0000)
committerPedro Alves <palves@redhat.com>
Tue, 25 Jan 2011 15:18:36 +0000 (15:18 +0000)
commitde4127a3b22abd0e9e69f61f6e52b5f891050ffd
treee9c7badb2302c3e663e392770e7f01d355cb5d03
parentee99023e123b99f55fdf9a99e54e03fea21d3882
* 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.
gdb/ChangeLog
gdb/cp-valprint.c
gdb/value.c
gdb/value.h