This is the mail archive of the
gdb-cvs@sources.redhat.com
mailing list for the GDB project.
src/gdb ChangeLog valarith.c
- From: jingham at sources dot redhat dot com
- To: gdb-cvs at sources dot redhat dot com
- Date: 10 Apr 2002 00:11:52 -0000
- Subject: src/gdb ChangeLog valarith.c
CVSROOT: /cvs/src
Module name: src
Changes by: jingham@sources.redhat.com 2002-04-09 17:11:52
Modified files:
gdb : ChangeLog valarith.c
Log message:
2002-04-04 Jim Ingham <jingham@apple.com>
* valarith.c (find_size_for_pointer_math): New function, either returns
the size for a pointer's target, returns 1 for void *, or errors for
incomplete types.
(value_add, value_sub): use find_size_for_pointer_math.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.2410&r2=1.2411
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/valarith.c.diff?cvsroot=src&r1=1.14&r2=1.15