From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26323 invoked by alias); 27 Mar 2014 07:03:29 -0000 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 Received: (qmail 26303 invoked by uid 89); 27 Mar 2014 07:03:28 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: SJOEDG01.corp.atmel.com Received: from nasmtp02.atmel.com (HELO SJOEDG01.corp.atmel.com) (204.2.163.16) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Thu, 27 Mar 2014 07:03:27 +0000 Received: from apsmtp01.atmel.com (10.168.254.31) by sjoedg01.corp.atmel.com (10.64.253.30) with Microsoft SMTP Server (TLS) id 14.2.347.0; Thu, 27 Mar 2014 00:02:58 -0700 Received: from PENCHT01.corp.atmel.com (10.168.5.161) by apsmtp01.atmel.com (10.168.254.31) with Microsoft SMTP Server (TLS) id 14.2.347.0; Thu, 27 Mar 2014 15:13:56 +0800 Received: from atmel.com (10.168.5.13) by cas-ap.atmel.com (10.168.5.161) with Microsoft SMTP Server (TLS) id 14.2.342.3; Thu, 27 Mar 2014 15:02:59 +0800 Date: Thu, 27 Mar 2014 07:03:00 -0000 From: Senthil Kumar Selvaraj To: Ashoka K CC: Subject: Re: GDB on ARM Message-ID: <20140327070300.GA4122@atmel.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-IsSubscribed: yes X-SW-Source: 2014-03/txt/msg00069.txt.bz2 On Thu, Mar 27, 2014 at 11:17:20AM +0530, Ashoka K wrote: > Hi, > > I am trying to use Valgrind on ARM target. The Valgrind intrenally > supports GDB. To connect to the Valgrind-GDB (i.e, gdbserver) i need > the GDB (host) also to run on arm target. i.e GDB and GDServer both > built with host=arm-linux-gnueabi. > > I downloaded latest GDB7.7 and able to build gdbserver, but during > building GDB with host=arm-linux-gnueabi I got the below error. I > searched all over and found that to install libncurses package. I did > that but it didn't work. > > My system: > Build-host: Ubuntu-Lucid (10.04) on Virtual-machine with > arm-linux-gnueabi tool chain > Target: ARM OMAP > > checking for library containing gethostbyname... none required > checking for library containing socketpair... none required > checking for library containing zlibVersion... no > checking for library containing dlgetmodinfo... no > checking for iconv... yes > checking for iconv declaration... install-shextern size_t iconv > (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, > size_t *outbytesleft); > checking for library containing waddstr... no > configure: WARNING: no enhanced curses library found; disabling TUI > checking for library containing tgetent... no > configure: error: no termcap library found You can check the config.log file to see the exact command line used by configure to detect the presence of libtermcap. Regards Senthil