This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Crash in write_exp_msymbol for coff targets.
Hello,
> > 2006-11-16 Pedro Alves <pedro_alves@portugalmail.pt>
> >
> > * parse.c (write_exp_msymbol): Check if SYMBOL_BFD_SECTION (msymbol)
> > is NULL
> > before dereferencing it.
>
> While I think we should fix coffread to set this too, meanwhile, let's
> avoid the crash. I've checked this in. Careful of wrapping in the
> ChangeLog entry; that line was too long. And thanks for the patch!
I also checked this patch in the branch. It's obvious enough and
avoids a crash.
--
Joel