From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4404 invoked by alias); 18 Nov 2006 23:50:25 -0000 Received: (qmail 4395 invoked by uid 22791); 18 Nov 2006 23:50:25 -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:50:20 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1GlZwv-0007Sg-Rk; Sat, 18 Nov 2006 18:50:18 -0500 Date: Sat, 18 Nov 2006 23:50: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: <20061118235017.GA28256@nevyn.them.org> Mail-Followup-To: Pedro Alves , gdb-patches@sourceware.org References: <455CCFAD.6060407@portugalmail.pt> <20061116210236.GA25020@nevyn.them.org> <455CF6BA.2030306@portugalmail.pt> <20061116235909.GA32450@nevyn.them.org> <455D068D.4070507@portugalmail.pt> <455D0CA9.5040901@portugalmail.pt> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <455D0CA9.5040901@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/msg00203.txt.bz2 On Fri, Nov 17, 2006 at 01:13:14AM +0000, Pedro Alves wrote: > * symtab.h (prim_record_minimal_symbol_and_bfd_section): Declare. I don't think you need yet another variant of this function. Can't you use prim_record_minimal_symbol_and_info? You're getting the section from the cs, and there's cs_to_section, so you ought to have the "section" integer available too. -- Daniel Jacobowitz CodeSourcery