This is the mail archive of the gdb-patches@sourceware.org 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]
Other format: [Raw text]

Re: [RFA] Fix crash when DW_AT_producer attribute is absent


> > The crash happens because we do the following inside dwarf2read.c:
> > 
> >   attr = dwarf2_attr (die, DW_AT_producer, cu);
> >   if (attr)
> >     cu->producer = DW_STRING (attr);
> >   [...]
> >   record_producer (cu->producer);
> > 
> >   (but cu->producer is NULL)
> 
> OK and thanks.

Thanks Daniel. Checked in.

-- 
Joel


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