This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Fix valgrind false warning (by Ada)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]