2002-04-04 Jim Ingham <jingham@apple.com>
authorJim Ingham <jingham@apple.com>
Wed, 10 Apr 2002 00:11:51 +0000 (00:11 +0000)
committerJim Ingham <jingham@apple.com>
Wed, 10 Apr 2002 00:11:51 +0000 (00:11 +0000)
commitca439ad26a484e0a818095509fb57f8ef0b98314
tree558ac5f0f6039d70c31db5ce2e26a2baa45685cc
parent0e994e66106be95e4ced81e8868b7ab53fd00688
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.
gdb/ChangeLog
gdb/valarith.c