Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Will Moore <will.moore@beraninstruments.com>
To: buildroot@busybox.net
Subject: [Buildroot] How to get gdb in the image
Date: Fri, 20 Aug 2010 16:14:08 +0100	[thread overview]
Message-ID: <0901DF5E22854D36A787D3FA5AAADCB2@AP366> (raw)
In-Reply-To: <29492552.post@talk.nabble.com>

> -----Original Message-----
> From: buildroot-bounces at busybox.net [mailto:buildroot-bounces at busybox.net]
> On Behalf Of JNY
> Sent: 20 August 2010 15:48
> 
> Hi,
> 
> I need gdb on my target, so selected the gdb options available to me in
> buildroot (Toolchain->Build gdb degugger for the target, Toolchain->Build
> gdb server for the target, Toolchain->Build gdb for the host, Toolchain-
> >GDB
> Debugger Version 6.8).  I then re-made, and installed the output image,
> but
> still gdb is not recognised on the target after installation.

If you want to perform remote debug then you will need gdbserver on the
target and gdb on the host.  There is no need to build gdb for the target.

If you want to perform debug on the target then you will need gdb for the
target.  There is no need to build gdbserver for the target nor gdb for the
host, I assume, although I never do this as having dev tools on the target
seems a bit over the top to me.

This may just be an example of buildroot not rebuilding properly.  See
http://buildroot.uclibc.org/downloads/buildroot.html#rebuilding_packages for
more information on how to coax buildroot to rebuild a package.

> 
> Any ideas would be received with thanks (and admiration - don't know if
> flattery will help, but I figure it's worth a shot ;-))
> 
> Regards,
> JNY
> --
> View this message in context: http://old.nabble.com/How-to-get-gdb-in-the-
> image-tp29492552p29492552.html
> Sent from the Buildroot (busybox) mailing list archive at Nabble.com.
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

  reply	other threads:[~2010-08-20 15:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-20 14:48 [Buildroot] How to get gdb in the image JNY
2010-08-20 15:14 ` Will Moore [this message]
2010-08-20 15:49 ` JNY
2010-08-20 17:12 ` Thomas Petazzoni
2010-08-21  8:21   ` JNY
2010-08-21 11:17     ` Thomas Petazzoni
2010-08-21 12:18     ` JNY

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=0901DF5E22854D36A787D3FA5AAADCB2@AP366 \
    --to=will.moore@beraninstruments.com \
    --cc=buildroot@busybox.net \
    /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