Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 3/3] buildroot: toolchain: Allow to build gdbserver when external toolchain is selected.
Date: Wed, 8 Aug 2012 21:23:05 +0200	[thread overview]
Message-ID: <20120808212305.5c20e240@skate> (raw)
In-Reply-To: <05E9E85E39C35B4D96ED3A3190E35A10C3D77B0E41@LIMKCMBX1.ad.analog.com>

Hello,

Le Wed, 8 Aug 2012 17:29:20 +0100,
"Henderson, Stuart" <Stuart.Henderson@analog.com> a ?crit :

> Since Sonic's linux distro has gdbserver built into it anyway (built
> using the appropriate version of the toolchain), I don't think
> providing gdbserver in the toolchain as well would provide any
> particular benefit to the end user.  Is there a scenario where having
> gdbserver in the toolchain is going to help the user?  I'd happily
> introduce it, if so.

Well, my personal experience (and I've heard this experience from
several other people has well) is that to avoid problems the gdbserver
version you're using should be the same as the cross-gdb used to
connect to this gdbserver. Therefore, it makes sense for a toolchain to
provide both cross-gdb *and* gdbserver, or none of them, but it doesn't
make much sense to offer just cross-gdb without a gdbserver. As I was
mentioning before, Linaro toolchains, Sourcery CodeBench toolchains do
that.

Best regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

  parent reply	other threads:[~2012-08-08 19:23 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-06 11:17 [Buildroot] [PATCH 1/3] buildroot: target: Add Blackfin architecture support in configuration Sonic Zhang
2012-08-06 11:17 ` [Buildroot] [PATCH 2/2] buildroot:package: Avoids prefix absolute compiler path when external toolchain path is empty Sonic Zhang
2012-08-06 12:50   ` Thomas Petazzoni
2012-08-06 11:17 ` [Buildroot] [PATCH 3/3] buildroot: toolchain: Allow to build gdbserver when external toolchain is selected Sonic Zhang
2012-08-06 12:54   ` Thomas Petazzoni
     [not found]     ` <DB904C5425BA6F4E8424B3B51A1414D1714D28600B@NWD2CMBX1.ad.analog.com>
2012-08-08  2:39       ` Sonic Zhang
     [not found]         ` <05E9E85E39C35B4D96ED3A3190E35A10C3D77B0E41@LIMKCMBX1.ad.analog.com>
2012-08-08 19:23           ` Thomas Petazzoni [this message]
     [not found]             ` <05E9E85E39C35B4D96ED3A3190E35A10C3D786052C@LIMKCMBX1.ad.analog.com>
2012-08-14 12:25               ` Thomas Petazzoni
2012-08-06 12:36 ` [Buildroot] [PATCH 1/3] buildroot: target: Add Blackfin architecture support in configuration Thomas Petazzoni
     [not found]   ` <DB904C5425BA6F4E8424B3B51A1414D1714D286001@NWD2CMBX1.ad.analog.com>
2012-08-08  2:42     ` Sonic Zhang

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=20120808212305.5c20e240@skate \
    --to=thomas.petazzoni@free-electrons.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