From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31019 invoked by alias); 28 Oct 2010 12:11:48 -0000 Received: (qmail 31007 invoked by uid 22791); 28 Oct 2010 12:11:47 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 28 Oct 2010 12:11:41 +0000 Received: (qmail 9719 invoked from network); 28 Oct 2010 12:11:39 -0000 Received: from unknown (HELO orlando.localnet) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 28 Oct 2010 12:11:39 -0000 From: Pedro Alves To: paawan oza Subject: Re: gdb cross compilation, error from gdb/tui module Date: Thu, 28 Oct 2010 12:11:00 -0000 User-Agent: KMail/1.13.2 (Linux/2.6.33-29-realtime; KDE/4.4.2; x86_64; ; ) Cc: Baurzhan Ismagulov , gdb@sourceware.org References: <877394.75835.qm@web112505.mail.gq1.yahoo.com> <201010281227.13121.pedro@codesourcery.com> <592649.8818.qm@web112518.mail.gq1.yahoo.com> In-Reply-To: <592649.8818.qm@web112518.mail.gq1.yahoo.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201010281311.38430.pedro@codesourcery.com> 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: 2010-10/txt/msg00121.txt.bz2 On Thursday 28 October 2010 12:56:57, paawan oza wrote: > and I have cross compiled it with tool chain at following location > http://www.codesourcery.com/sgpp/lite/arm/portal/package3696/public/arm-none-linux-gnueabi/arm-2008q3-72-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2 ^^^^^^^^^^^^^^^^^^^^^^ > This GDB was configured as "--host=i686-pc-linux-gnu --target=arm-elf". ^^^^^^^ > warning: A handler for the OS ABI "GNU/Linux" is not built into this ... > any idea how to get the arm binaries correctly getting worked under arm > simulator ? I suppose you'll get better results with a compiler that matches your target... Try building gdb with --target=arm-eabi, and to use the arm-eabi compiler, not the arm-linux-gnueabi compiler. -- Pedro Alves