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

Kevin Buettner kevinb@cygnus.com
Fri May 11 01:10:00 GMT 2001


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



More information about the Gdb-patches mailing list