[Buildroot] How to get gdb in the image

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Fri Aug 20 17:12:57 UTC 2010


On Fri, 20 Aug 2010 07:48:13 -0700 (PDT)
JNY <jny0 at hotmail.com> wrote:

> I need gdb on my target, so selected the gdb options available to me
> in buildroot (Toolchain->Build gdb degugger for the target,
> Toolchain->Build gdb server for the target, Toolchain->Build gdb for
> the host, Toolchain->GDB Debugger Version 6.8).  I then re-made, and
> installed the output image, but still gdb is not recognised on the
> target after installation.

You need to enable:

  Toolchain -> Build gdb server for the target
  Toolchain -> Build gdb for the host

Then, remove everything (make clean), and rebuild everything (make).

Basically, any change in the Toolchain submenu requires a complete


Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.

More information about the buildroot mailing list