This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb valarith.c valops.c
- From: kwerner at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 14 Dec 2010 10:23:42 -0000
- Subject: src/gdb valarith.c valops.c
CVSROOT: /cvs/src
Module name: src
Changes by: kwerner@sourceware.org 2010-12-14 10:23:42
Modified files:
gdb : valarith.c valops.c
Log message:
gdb:
* valops.c (value_one): Use get_array_bounds to compute the number
of array elements instead of dividing the length of the array by the
length of the element types.
* valarith.c (value_complement, value_neg): Likewise.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/valarith.c.diff?cvsroot=src&r1=1.91&r2=1.92
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/valops.c.diff?cvsroot=src&r1=1.259&r2=1.260