Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Hunold <hunold@linuxtv.org>
To: buildroot@busybox.net
Subject: [Buildroot] Why is --disable-gdbmi specified for host GDB build?
Date: Mon, 30 Jul 2007 10:40:42 +0200	[thread overview]
Message-ID: <46ADA40A.3000508@linuxtv.org> (raw)

Hello all,

I can happily remote debug my MIPS target using the host GDB 6.3 build
by buildroot and using "ddd" as a GUI.

Now I tried to use Visual Slickedit, but this fails. It turns out that
Slickedit provides the "-interpreter=mi" argument to the host GDB, which
gives: "Interpreter `mi' unrecognized"

After some searching it turns out that MI support is disabled via
--disable-gdbmi in toolchain/gdb/gdb.mk.

Quote:
------------------------------schnipp------------------------------
# NOTE: This option should not be used with gdb versions 6.4 and above.
ifeq ($(GDB_VERSION),6.2.1)
DISABLE_GDBMI:=--disable-gdbmi
endif

ifeq ($(GDB_VERSION),6.3)
DISABLE_GDBMI:=--disable-gdbmi
endif
endif
------------------------------schnipp------------------------------

Then I found this bug report:
http://busybox.net/bugs/view.php?id=602

"vapier" correctly states that "disabling gdmi ignores the issue
(whatever that may be)".

For my specific toolchain build, I simply removed the above lines and
the compilation works fine. Now I have a host GDB 6.3 that includes the
MI interpreter and works with Slickedit.

Can anyone tell me what the original problem was so that --disable-gdbmi
was added?

Best regards
Michael Hunold.

                 reply	other threads:[~2007-07-30  8:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=46ADA40A.3000508@linuxtv.org \
    --to=hunold@linuxtv.org \
    --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