From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [RFC; PATCH] Use gdbserver from external toolchain
Date: Sat, 24 Oct 2009 18:25:38 +0200 [thread overview]
Message-ID: <20091024182538.69233120@surf> (raw)
In-Reply-To: <2c9a759f0910220247u18c004epcb564aa65aa02d2b@mail.gmail.com>
Hi,
Le Thu, 22 Oct 2009 11:47:52 +0200,
Anders Darander <anders.darander@gmail.com> a ?crit :
> I've attached a patch (formatted by git), which adds the possibility
> to have buildroot install the already compiled gdbserver from an
> external toolchain.
>
> To make sure that debuging works, it is preferred if both the host
> crosscompiler gdb and gdbserver is built from the same gdb version. If
> we take the gdbserver from the external toolchain, this is guaranteed.
>
> I'm not sure that the implementation is the best, it migth be a
> little bit "hackish". Looking forward to some comments for
> improvement.
This feature is of course very welcome, but I'd like to see the
external toolchain support to be extended to toolchains not generated
by Crosstool-NG (Codesourcery toolchains, for example, are still on my
TODO-list).
Can we imagine a way of making this more generic ? Maybe we could
detect the toolchain ?type? and act differently depending on this type ?
Sincerly,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com
next prev parent reply other threads:[~2009-10-24 16:25 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-22 9:47 [Buildroot] [RFC; PATCH] Use gdbserver from external toolchain Anders Darander
2009-10-22 17:40 ` Yann E. MORIN
[not found] ` <2c9a759f0910222326y52a61764w4f28b56b8f508ecb@mail.gmail.com>
[not found] ` <200910231926.05125.yann.morin.1998@anciens.enib.fr>
2009-10-24 7:48 ` Anders Darander
2009-10-22 19:41 ` Lionel Landwerlin
[not found] ` <1256240439.25025.32.camel@coalu.atr>
[not found] ` <2c9a759f0910222319oa156407g4aa46caef5af7f0@mail.gmail.com>
2009-10-23 6:49 ` Lionel Landwerlin
2009-10-23 7:07 ` Anders Darander
2009-10-24 16:25 ` Thomas Petazzoni [this message]
2009-10-24 17:41 ` Lionel Landwerlin
2009-10-26 18:08 ` Yann E. MORIN
2009-10-26 7:32 ` Anders Darander
2009-10-26 10:22 ` [Buildroot] [RFC; PATCH v2] " Anders Darander
2009-10-26 11:16 ` Thomas Petazzoni
2009-10-26 14:07 ` Anders Darander
2009-10-26 14:26 ` Anders Darander
2009-10-26 18:12 ` [Buildroot] [RFC; PATCH] " Yann E. MORIN
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=20091024182538.69233120@surf \
--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