mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-31 10:09:16 +08:00
2005-02-07 Andrew Cagney <cagney@gnu.org>
* cp-valprint.c, c-valprint.c, infcall.c: Use value_contents or value_contents_writeable, include note that there are problems. * breakpoint.c, infcall.c: Use VALUE_LVAL.
This commit is contained in:
@ -784,7 +784,8 @@ cp_print_hpacc_virtual_table_entries (struct type *type, int *vfuncs,
|
||||
if (value_lazy (vf))
|
||||
(void) value_fetch_lazy (vf);
|
||||
/* adjust by offset */
|
||||
vf->aligner.contents[0] += 4 * (HP_ACC_VFUNC_START + vx);
|
||||
/* NOTE: cagney/2005-01-02: THIS IS BOGUS. */
|
||||
value_contents_writeable (vf)[0] += 4 * (HP_ACC_VFUNC_START + vx);
|
||||
vf = value_ind (vf); /* get the entry */
|
||||
/* make it a pointer */
|
||||
deprecated_set_value_type (vf, value_type (v));
|
||||
|
Reference in New Issue
Block a user