From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17502 invoked by alias); 27 Mar 2014 05:47:26 -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 17475 invoked by uid 89); 27 Mar 2014 05:47:25 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-yh0-f53.google.com Received: from mail-yh0-f53.google.com (HELO mail-yh0-f53.google.com) (209.85.213.53) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Thu, 27 Mar 2014 05:47:23 +0000 Received: by mail-yh0-f53.google.com with SMTP id v1so3069339yhn.26 for ; Wed, 26 Mar 2014 22:47:21 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.236.109.99 with SMTP id r63mr113309360yhg.52.1395899240904; Wed, 26 Mar 2014 22:47:20 -0700 (PDT) Received: by 10.170.132.134 with HTTP; Wed, 26 Mar 2014 22:47:20 -0700 (PDT) Date: Thu, 27 Mar 2014 05:47:00 -0000 Message-ID: Subject: GDB on ARM From: Ashoka K To: gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 X-SW-Source: 2014-03/txt/msg00068.txt.bz2 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 make[1]: *** [configure-gdb] Error 1 make[1]: Leaving directory user@ubu::build-gdb $ locate libncurses.a /usr/lib/libncurses.a user@ubu::build-gdb $ user@ubu::build-gdb $ locate libtermcap /usr/lib/libtermcap.a /usr/lib/libtermcap.so user@ubu::build-gdb $ user@ubu::build-gdb $ locate tgetent /usr/share/man/man3/tgetent.3ncurses.gz Please help. Regards, AK.