Buildroot: fix for the GDB --disable-gdbmi problem

Alessio Massaro alessio.massaro at oxinst.co.uk
Fri Apr 21 13:44:29 UTC 2006


The attachment solves an issue with buildroot doing configure
--disable-gdbmi for all release versions of gdb (i.e. all but snapshot).

That configure flag breaks the 6.4 build. One of the gdb maintainers
actually told me it should NOT be done.

I solved the issue by doing an
include toochain/gdb/$(GDB_VERSION)/*.mk
plus setting a couple of defaults in the main gdb.mk file
and creating version-specific .mk files accordingly. These can override the
above defaults.
This removes the need for ifeq($(GDB_VERSION),...) in gdb.mk

This trick might actually come handy to handle version specific settings for
any other package.

NB: I've kept the --disable-gdbmi flag for versions 6.3 and 6.2.1.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gdb-mi-fix.patch
Type: application/octet-stream
Size: 2157 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20060421/2b2e4b19/attachment.obj 


More information about the uClibc mailing list