This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch 2/3] find_separate_debug_file cleanup
- 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, 22 Oct 2009 11:59:26 -0600
- Subject: Re: [patch 2/3] find_separate_debug_file cleanup
- References: <20091021231034.GC2658@host0.dyn.jankratochvil.net>
- Reply-to: tromey at redhat dot com
>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:
Jan> 2009-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
Jan> * symfile.c (find_separate_debug_file): Initialize dir, debugfile and
Jan> canon_name to NULL. Change alloca to xmalloc, newly call xfree for it.
Jan> New label cleanup_return_debugfile, jump to it from the failure paths.
Ok.
Tom