Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Why is --disable-gdbmi specified for host GDB build?
@ 2007-07-30  8:40 Michael Hunold
  0 siblings, 0 replies; only message in thread
From: Michael Hunold @ 2007-07-30  8:40 UTC (permalink / raw)
  To: buildroot

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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-07-30  8:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-30  8:40 [Buildroot] Why is --disable-gdbmi specified for host GDB build? Michael Hunold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox