This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Fix symtab/14601
- From: Tom Tromey <tromey at redhat dot com>
- To: dje at google dot com
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 21 Sep 2012 10:38:49 -0600
- Subject: Re: [patch] Fix symtab/14601
- References: <yjt2txus2ubr.fsf@ruffy2.mtv.corp.google.com>
Doug> Not all code paths to handle DW_TAG_imported_{declaration,module}
Doug> ensure using_directives is reset to NULL.
Doug> This patch fixes things by "going with the flow" and resetting
Doug> using_directives to NULL in buildsym_init along with the others.
What code paths result in the bad behavior?
I think this patch is fine but I wonder if the underlying bug has other
possible bad effects.
Tom