gdb:
authorKen Werner <ken.werner@de.ibm.com>
Tue, 14 Dec 2010 10:23:41 +0000 (10:23 +0000)
committerKen Werner <ken.werner@de.ibm.com>
Tue, 14 Dec 2010 10:23:41 +0000 (10:23 +0000)
commitcfa6f0541f6a343e4ae51c1b66ab0e3f566cf3ea
tree2ed804d745f0775a35c60b505087e797b032e679
parent043b6510015086daf0b084955c4b1da2ee1f0e24
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.
ChangeLog
gdb/valarith.c
gdb/valops.c