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: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 16 Apr 2009 15:43:11 -0600
- Subject: Re: [patch] [3/5] Types reference counting [make_function_type-objfile]
- References: <20090411102152.GD32624@host0.dyn.jankratochvil.net>
- Reply-to: tromey at redhat dot com
>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:
Jan> make_function_type was sometimes being called with permanent
Jan> target type which would now also create a permanent function type
Jan> while it should be objfile-associated function type instead.
The only one is in jv-lang.c, right?
This patch is ok. I'd like to understand why function types are
always permanent, though.
Tom