buildrootschalter/toolchain
Thomas Petazzoni e8fad4d95d toolchain-external: support more gdbserver locations
The x86/x86-64 CodeSourcery toolchains use some weird locations for
the gdbserver binary:

$ find . -name 'gdbserver'
./i686-pc-linux-gnu/libc/atom/usr/bin/gdbserver
./i686-pc-linux-gnu/libc/atom/usr/lib/bin/gdbserver
./i686-pc-linux-gnu/libc/core2/usr/bin/gdbserver
./i686-pc-linux-gnu/libc/core2/usr/lib64/bin/gdbserver
./i686-pc-linux-gnu/libc/usr/lib/bin/gdbserver
./i686-pc-linux-gnu/libc/usr/lib64/bin/gdbserver

Notice that it's sometimes hidden in a usr/{lib,lib64}/bin
directory. This patch changes the gdbserver logic to also try in this
location.

Originally based on work done by Daniel Nilsson, visible at
http://patchwork.ozlabs.org/patch/155767/.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-04-11 21:47:57 +02:00
..
elf2flt
gcc toolchain/gcc: bump 4.7.x series to 4.7.3 2013-04-11 21:18:54 +02:00
kernel-headers kernel-headers: bump 3.{0, 4, 8}.x stable version and EOL 3.7.x series 2013-04-10 11:46:59 +02:00
toolchain-buildroot gdb: convert to the package infrastructure 2013-04-11 21:46:32 +02:00
toolchain-crosstool-ng gdb: convert to the package infrastructure 2013-04-11 21:46:32 +02:00
toolchain-external toolchain-external: support more gdbserver locations 2013-04-11 21:47:57 +02:00
uClibc gdb: convert to the package infrastructure 2013-04-11 21:46:32 +02:00
Config.in gdb: convert to the package infrastructure 2013-04-11 21:46:32 +02:00
helpers.mk
toolchain-buildroot.mk gdb: convert to the package infrastructure 2013-04-11 21:46:32 +02:00
toolchain-common.in gdb: convert to the package infrastructure 2013-04-11 21:46:32 +02:00
toolchain-crosstool-ng.mk gdb: convert to the package infrastructure 2013-04-11 21:46:32 +02:00
toolchain-external.mk gdb: convert to the package infrastructure 2013-04-11 21:46:32 +02:00