From c84141d67e109faa68267eba2fbfbb4840a103c2 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Fri, 28 Jan 2005 16:45:16 +0000 Subject: 2005-01-28 Andrew Cagney * value.h (value_bit_index, print_floating) (find_rt_vbase_offset): Make buffer a const bfd_byte. * valprint.c (print_floating): Update. * valarith.c (value_bit_index): Update. * valops.c (find_rt_vbase_offset): Update. --- gdb/valops.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gdb/valops.c') diff --git a/gdb/valops.c b/gdb/valops.c index c708fac..e17ca3c 100644 --- a/gdb/valops.c +++ b/gdb/valops.c @@ -1354,8 +1354,9 @@ search_struct_field (char *name, struct value *arg1, int offset, * conventions. */ void -find_rt_vbase_offset (struct type *type, struct type *basetype, char *valaddr, - int offset, int *boffset_p, int *skip_p) +find_rt_vbase_offset (struct type *type, struct type *basetype, + const bfd_byte *valaddr, int offset, int *boffset_p, + int *skip_p) { int boffset; /* offset of virtual base */ int index; /* displacement to use in virtual table */ -- cgit v1.1