[patch] Fix valgrind false warning (by Ada)
Jan Kratochvil
jan.kratochvil@redhat.com
Tue Nov 16 22:13:00 GMT 2010
On Mon, 18 Oct 2010 08:31:44 +0200, Jan Kratochvil wrote:
> gdb.ada/arrayparam.exp under valgrind (x86_64-fedora13-linux-gnu) reports:
> Invalid read of size 1
> No regressions on {x86_64,x86_64-m32,i686}-fedora14snapshot-linux-gnu.
> No regressions for gdb.ada/* on {ppc64-m64,ppc64-m32}-rhel60-linux-gnu.
>
> I will check it in in some days.
Checked-in:
http://sourceware.org/ml/gdb-cvs/2010-11/msg00081.html
gdb/
* ada-lang.c (modify_general_field): Remove.
(make_array_descriptor): Replace all modify_general_field calls by
modify_field.
* value.c (modify_field): Update comment. New variable bytesize.
Normalize BITPOS. Initialize BYTESIZE, use it.
Regards,
Jan
More information about the Gdb-patches
mailing list