This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: GDB on ARM
- From: Senthil Kumar Selvaraj <senthil_kumar dot selvaraj at atmel dot com>
- To: Ashoka K <ashok dot vinu at gmail dot com>
- Cc: <gdb at sourceware dot org>
- Date: Thu, 27 Mar 2014 12:33:02 +0530
- Subject: Re: GDB on ARM
- Authentication-results: sourceware.org; auth=none
- References: <CALJd4cYgj5tMybD35JdahcbDYMB1cXSChUwWEt7xftZ-6fz72Q at mail dot gmail dot com>
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