* ada-lang.c (ada_value_primitive_packed_val): Don't
authorTom Tromey <tromey@redhat.com>
Mon, 6 May 2013 19:46:15 +0000 (19:46 +0000)
committerTom Tromey <tromey@redhat.com>
Mon, 6 May 2013 19:46:15 +0000 (19:46 +0000)
commit40501e00a1ae6f0dcdd46c01e7137ff7e887c1e1
tree989deb032766a735e9ce34ebde5e0f01b5017524
parentb6807d988a28dc2718bae1abba1f28779bc0c3c3
* ada-lang.c (ada_value_primitive_packed_val): Don't
call value_incref.
* value.c (set_value_parent): Incref the new parent and decref
the old parent.
(value_copy, value_primitive_field): Use set_value_parent.
gdb/ChangeLog
gdb/ada-lang.c
gdb/value.c