This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [4/4] clean up value parenting
- From: Tom Tromey <tromey at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Mon, 06 May 2013 13:44:09 -0600
- Subject: Re: [4/4] clean up value parenting
- References: <87r4iikvif dot fsf at fleche dot redhat dot com>
>>>>> "Tom" == Tom Tromey <tromey@redhat.com> writes:
Tom> * ada-lang.c (ada_value_primitive_packed_val): Don't
Tom> call value_incref.
Tom> * value.c (set_value_parent): Incref the new parent and decref
Tom> the old parent.
Tom> (value_copy, value_primitive_field): Use set_value_parent.
I'm checking this in now.
Tom