From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15626 invoked by alias); 30 Jun 2009 17:17:58 -0000 Received: (qmail 15616 invoked by uid 22791); 30 Jun 2009 17:17:58 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 30 Jun 2009 17:17:51 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 66AD1108CC; Tue, 30 Jun 2009 17:17:49 +0000 (GMT) Received: from caradoc.them.org (209.195.188.212.nauticom.net [209.195.188.212]) by nan.false.org (Postfix) with ESMTP id 1B1B210597; Tue, 30 Jun 2009 17:17:48 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1MLgxn-0008Qq-79; Tue, 30 Jun 2009 13:17:47 -0400 Date: Tue, 30 Jun 2009 17:17:00 -0000 From: Daniel Jacobowitz To: Tavis Ormandy Cc: gdb@sources.redhat.com Subject: Re: importing symbols from unsupported BFD target Message-ID: <20090630171747.GA31917@caradoc.them.org> Mail-Followup-To: Tavis Ormandy , gdb@sources.redhat.com References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-06/txt/msg00328.txt.bz2 On Tue, Jun 30, 2009 at 06:59:06PM +0200, Tavis Ormandy wrote: > This basically works, `info address symname`, `b symname`, `x/i symname` all > work, but `info symbol address` fails, and stacktraces, info breakpoints, > etc, etc are not symbolised. > > Can anyone suggest what I might be missing? I think you're going to have to create sections in the file; this sounds like it's going to be specific to ABS symbols. A NOBITS (bss) section is probably fine though it may need to be marked executable too. -- Daniel Jacobowitz CodeSourcery