Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Grant Edwards <grant.b.edwards@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] Status of external toolchain support
Date: Wed, 12 May 2010 22:09:07 +0000 (UTC)	[thread overview]
Message-ID: <hsf8u3$h7a$1@dough.gmane.org> (raw)
In-Reply-To: 201005122353.19051.yann.morin.1998@anciens.enib.fr

On 2010-05-12, Yann E. MORIN <yann.morin.1998@anciens.enib.fr> wrote:

> That was not what I meant. Sorry for the confusion. I was trying to say:
>  "build the cross gdb *and* the gdbserver from the same version of gdb
>  "so there is no protocol mis-match between the two

That's good advice.  In theory, they don't have to be _exactly_ the
same version as long as there weren't incompatible protocol changes
between those two versions. But, figuring out where the incompatible
protocol changes are is probably a lot more work that just using the
same version for server and client.

> Of course, the gdbserver stub in the kernel, in u-boot, in redboot, in
> my jtag ICE, and in many other places are not built from the same source.
>
> And in that case, it can happen that using too old/new a cross gdb with
> them will lead to issues, as they might not use the same protocol.
>
> Yes, I've seen that happen, with an "old" jtag ICE, and a "recent" gdb.

No doubt.  There is some effort to make gdb/protocol changes so that
things are backwards compatible, but it's not always successful.

If you're building both the server and client, the safe thing to do is
always build them from the same version.

-- 
Grant Edwards               grant.b.edwards        Yow! Th' MIND is the Pizza
                                  at               Palace of th' SOUL
                              gmail.com            

  reply	other threads:[~2010-05-12 22:09 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-12 17:15 [Buildroot] Status of external toolchain support Will Wagner
2010-05-12 21:19 ` Yann E. MORIN
2010-05-12 21:34   ` Grant Edwards
2010-05-12 21:53     ` Yann E. MORIN
2010-05-12 22:09       ` Grant Edwards [this message]
2010-05-12 21:36   ` Will Wagner
2010-05-12 21:47     ` Yann E. MORIN
2010-05-13 12:29       ` Mark Fisher
2010-05-13 15:22 ` Thomas Petazzoni
2010-05-13 17:21   ` Yann E. MORIN
2010-05-13 20:08     ` Thomas Petazzoni
2010-05-13 20:26       ` 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='hsf8u3$h7a$1@dough.gmane.org' \
    --to=grant.b.edwards@gmail.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