From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5213 invoked by alias); 18 Nov 2006 23:54:39 -0000 Received: (qmail 5205 invoked by uid 22791); 18 Nov 2006 23:54:38 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Sat, 18 Nov 2006 23:54:34 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1Gla12-0007UW-4Z; Sat, 18 Nov 2006 18:54:32 -0500 Date: Sat, 18 Nov 2006 23:54:00 -0000 From: Daniel Jacobowitz To: Pedro Alves Cc: gdb-patches@sourceware.org Subject: Re: Crash in write_exp_msymbol for coff targets. Message-ID: <20061118235432.GB28256@nevyn.them.org> Mail-Followup-To: Pedro Alves , gdb-patches@sourceware.org References: <455CCFAD.6060407@portugalmail.pt> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <455CCFAD.6060407@portugalmail.pt> User-Agent: Mutt/1.5.13 (2006-08-11) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-11/txt/msg00204.txt.bz2 On Thu, Nov 16, 2006 at 08:53:01PM +0000, Pedro Alves wrote: > 2006-11-16 Pedro Alves > > * 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