From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31294 invoked by alias); 21 Apr 2004 18:33:04 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 31266 invoked from network); 21 Apr 2004 18:33:03 -0000 Received: from unknown (HELO gateway.sf.frob.com) (64.81.54.130) by sources.redhat.com with SMTP; 21 Apr 2004 18:33:03 -0000 Received: from magilla.sf.frob.com (magilla.sf.frob.com [198.49.250.228]) by gateway.sf.frob.com (Postfix) with ESMTP id 1D64F357B; Wed, 21 Apr 2004 11:33:02 -0700 (PDT) Received: from magilla.sf.frob.com (localhost.localdomain [127.0.0.1]) by magilla.sf.frob.com (8.12.9/8.12.9) with ESMTP id i3LIX1Oi004669; Wed, 21 Apr 2004 11:33:01 -0700 Received: (from roland@localhost) by magilla.sf.frob.com (8.12.9/8.12.9/Submit) id i3LIX0Ww004664; Wed, 21 Apr 2004 11:33:00 -0700 Date: Wed, 21 Apr 2004 18:42:00 -0000 Message-Id: <200404211833.i3LIX0Ww004664@magilla.sf.frob.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit From: Roland McGrath To: Randolph Chung Cc: gdb@sources.redhat.com Subject: Re: add-symbol-file-from-memory patch breaks non-elf targets? In-Reply-To: Randolph Chung's message of Wednesday, 21 April 2004 08:05:08 -0700 <20040421150508.GH17842@tausq.org> X-Windows: a mistake carried out to perfection. X-SW-Source: 2004-04/txt/msg00123.txt.bz2 > > In gdb, I could not find, and still cannot find, a reasonable way to > > conditionalize something at compile time on "will there be ELF". > > can we add an autoconf check for this? I had that thought, but I am really not sure off hand if it will work right. That is, gdb/configure needs to do a check by linking against libbfd. libbfd is built in the same tree, not installed on the system.