This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: RFA: [dwarf2read.c] Avoid using section index if not yet set
- To: Fernando Nasser <fnasser at redhat dot com>, gdb-patches at sources dot redhat dot com, Jim Blandy <jimb at cygnus dot com>, Elena Zannoni <ezannoni at cygnus dot com>
- Subject: Re: RFA: [dwarf2read.c] Avoid using section index if not yet set
- From: Kevin Buettner <kevinb at cygnus dot com>
- Date: Fri, 11 May 2001 01:10:18 -0700
- References: <3AFB90A7.D8F37C43@redhat.com>
On May 11, 3:11am, Fernando Nasser wrote:
> This fix was suggested to me by someone that loads symbols from object
> files. It seems that in this situation the section index may not be set
> and this bit of code tries to use it.
>
> I this fix correct? Can I check it in?
IMO, no. I think it would be better to figure out why (and where) the
section index isn't getting set.
Kevin