From: Ashoka K <ashok.vinu@gmail.com>
To: gdb@sourceware.org
Subject: GDB on ARM
Date: Thu, 27 Mar 2014 05:47:00 -0000 [thread overview]
Message-ID: <CALJd4cYgj5tMybD35JdahcbDYMB1cXSChUwWEt7xftZ-6fz72Q@mail.gmail.com> (raw)
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.
next reply other threads:[~2014-03-27 5:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-27 5:47 Ashoka K [this message]
2014-03-27 7:03 ` Senthil Kumar Selvaraj
2014-03-27 7:11 ` Yao Qi
2014-03-27 10:26 ` Richard Earnshaw
[not found] ` <CALJd4cZPNGPb+ROrWAqo1MkZLTmwsJq9-yqT2GbgbxAnJWRKwA@mail.gmail.com>
2014-04-02 6:22 ` Yao Qi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CALJd4cYgj5tMybD35JdahcbDYMB1cXSChUwWEt7xftZ-6fz72Q@mail.gmail.com \
--to=ashok.vinu@gmail.com \
--cc=gdb@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox