From 972256e712d8fa041244f75ec25c4deba13df787 Mon Sep 17 00:00:00 2001 From: Peter Schauer Date: Sun, 20 Oct 1996 11:41:30 +0000 Subject: * corelow.c (core_close): Clear inferior_pid only if there is an open core_bfd. * cp-valprint.c (cp_print_value_fields): Pass correct address to val_print, not 0. From Andreas Schwab (schwab@issan.informatik.uni-dortmund.de): * eval.c (evaluate_subexp_standard) [case BINOP_REPEAT]: Chase typedefs before checking for integral type of right operand. --- gdb/cp-valprint.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gdb/cp-valprint.c') diff --git a/gdb/cp-valprint.c b/gdb/cp-valprint.c index 48f4905..b2015c7 100644 --- a/gdb/cp-valprint.c +++ b/gdb/cp-valprint.c @@ -351,7 +351,8 @@ cp_print_value_fields (type, valaddr, address, stream, format, recurse, pretty, { val_print (TYPE_FIELD_TYPE (type, i), valaddr + TYPE_FIELD_BITPOS (type, i) / 8, - 0, stream, format, 0, recurse + 1, pretty); + address + TYPE_FIELD_BITPOS (type, i) / 8, + stream, format, 0, recurse + 1, pretty); } } annotate_field_end (); -- cgit v1.1