This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: RFA: [dwarf2read.c] Avoid using section index if not yet set


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]