* c-valprint.c (c_value_print): Add VALUE_OFFSET to the address
authorDaniel Jacobowitz <drow@false.org>
Sat, 21 Jun 2003 23:27:53 +0000 (23:27 +0000)
committerDaniel Jacobowitz <drow@false.org>
Sat, 21 Jun 2003 23:27:53 +0000 (23:27 +0000)
commit9e14d72114b8e40e25ac0f99fc9a5e490eba70a8
tree2a345e915dcc884188439dfec10b4dcbd7350d1f
parenta4b8ebc89d2cbe6be8b4fe808e0d4c9ac2556a51
* c-valprint.c (c_value_print): Add VALUE_OFFSET to the address
argument of val_print.
* cp-valprint.c (cp_print_value): Don't add the offset parameter
to the address argument of baseclass_offset or target_read_memory.
Do add it to the argument of cp_print_value_fields.
gdb/ChangeLog
gdb/c-valprint.c
gdb/cp-valprint.c