This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] [3/5] Types reference counting [make_function_type-objfile]
- From: Tom Tromey <tromey at redhat dot com>
- To: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- Cc: jan dot kratochvil at redhat dot com (Jan Kratochvil), gdb-patches at sourceware dot org
- Date: Fri, 26 Jun 2009 12:03:30 -0600
- Subject: Re: [patch] [3/5] Types reference counting [make_function_type-objfile]
- References: <200906261736.n5QHa0s3008047@d12av02.megacenter.de.ibm.com>
- Reply-to: Tom Tromey <tromey at redhat dot com>
>>>>> "Ulrich" == Ulrich Weigand <uweigand@de.ibm.com> writes:
Ulrich> I guess we could force the element type to be copied at the time the
Ulrich> array type is allocated. In the alternative, we could change
Ulrich> preserve_values to do the recursive check even if the main type is
Ulrich> not objfile-associated.
I think either of these choices would be ok.
Tom