This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Reset 'using_directives' after block initialization
- From: Tom Tromey <tromey at redhat dot com>
- To: Sami Wagiaalla <swagiaal at redhat dot com>
- Cc: GDB Patches <gdb-patches at sourceware dot org>
- Date: Fri, 12 Mar 2010 13:27:59 -0700
- Subject: Re: [patch] Reset 'using_directives' after block initialization
- References: <4B9A9DB7.7060202@redhat.com>
- Reply-to: tromey at redhat dot com
>>>>> "Sami" == Sami Wagiaalla <swagiaal@redhat.com> writes:
Sami> The global pointer using_directives is used to temporarily store the
Sami> using_direct linked list until it is used to set the current blocks
Sami> using directives. The pointer must be reset to NULL every time after
Sami> block initialization. This patch fixes that.
Sami> 2010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
Sami> * buildsym.c (finish_block): Reset using_directives pointer
Sami> after block initialization.
Ok.
Tom