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: Crash in write_exp_msymbol for coff targets.


On Thu, Nov 16, 2006 at 08:53:01PM +0000, Pedro Alves wrote:
> 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!

-- 
Daniel Jacobowitz
CodeSourcery


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