OSDN Git Service

2002-04-04 Jim Ingham <jingham@apple.com>
authorjingham <jingham>
Wed, 10 Apr 2002 00:11:51 +0000 (00:11 +0000)
committerjingham <jingham>
Wed, 10 Apr 2002 00:11:51 +0000 (00:11 +0000)
commitdeb263fab42a30124251e48e54ab535bf76d7a5a
tree755b7fe20a71999d16975e3272e46ad3b5651916
parentb44e3df50a839b6d46a0953fe7824a2e3f31b399
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