aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gdb
AgeCommit message (Collapse)Author
2016-04-03gdb-cross-canadian: use PACKAGECONFIG for python and readlineJonathan Liu
Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-28gdb: Fix build on mips64/muslKhem Raj
Define _ABIO32 if not already defined heps in fixing gdb for mips64 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-26gdb-cross: use PACKAGECONFIG for python and readlineJonathan Liu
Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-06gdb: fix builds with internal readline and no static librariesRoss Burton
If gdb was configured to use the internal readline but static libraries were disabled, gdb wouldn't dutifully not build libreadline.a which was a problem when it tried to link with that library. Solve this by ensuring --enable-static is passed to the readline configure. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-15gdb-cross-canadian: Add missing virtual/* DEPENDSRichard Purdie
cross-canadian does INHIBIT_DEFAULT_DEPS so we need to add the various virtual/* toolchain pieces we rely on manually. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-15gdb: Rationalise PACKAGECONFIGRichard Purdie
Having two separate PACKAGECONFIG defaults and settings in two separate files is confusing. Move all to the common inc file. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-11gdb: drop unnecessary CC_FOR_BUILD etc exportsAndre McCurdy
These exports are all provided by autotool.bbclass http://git.openembedded.org/openembedded-core/commit/?id=edf30561184ec42e5692a55fdf93304fac0fdb1b Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-11gdb: build fix for MIPS + musl libcAndre McCurdy
The MIPS specific header <sgidefs.h> is provided by glibc and uclibc but not by musl. Regardless of the libc, the kernel headers provide <asm/sgidefs.h> which provides the same definitions, so use that instead. Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-01-29gdb-common.inc: add PACKAGECONFIG for readlineRobert Yang
When compile with readline 5.2: completer.o: In function `gdb_display_match_list': completer.c:(.text+0x1c13): undefined reference to `_rl_completion_prefix_display_length' completer.c:(.text+0x1ce8): undefined reference to `rl_sort_completion_matches' collect2: ld returned 1 exit status The --without-system-readline will make it work. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-01-26gdb: Fix build failures on muslKhem Raj
mode_t is needed by gdbserver headers so include sys/types.h to get them Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-01-13gdb: upgrade to 7.10.1Richard Purdie
The PPC inferior patch was dropped since an equivalent fix was merged upstream. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-12-12gdb: Fix build with muslKhem Raj
This is a patch that has been submitted upstream as well Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-07-08gdb: Fix detection of 64-bit PPC inferior in gdbserverYuanjie Huang
Fix 64-bit detection according to PowerISA Boot III-S. https://sourceware.org/ml/gdb-patches/2014-12/msg00239.html Written by: Yao Qi <yao@codesourcery.com> Signed-off-by: Yuanjie Huang <yuanjie.huang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-07-02gdb: Disable lttng support for muslKhem Raj
lttng-ust is too much dependent on glibc dlfcn code disable it for musl Signed-off-by: Khem Raj <raj.khem@gmail.com>
2015-06-26gdb: Add missing runtime dependency for python optionAndreas Oberritter
With python enabled, gdb refuses to start without core python modules: | Could not find platform independent libraries <prefix> | Could not find platform dependent libraries <exec_prefix> | Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] | ImportError: No module named site It also complains if python-codecs is missing. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-06-03gdb: Minor upgrade to 7.9.1Khem Raj
Drop backported patches Signed-off-by: Khem Raj <raj.khem@gmail.com>
2015-04-13gdb: Refresh patches against gitKhem Raj
Drop dead patches sim-install.patch, uclibc.patch Change-Id: I5bd160d0959154896096ebc93a8a450d04979c73 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-04-06gdb: Upgrade 7.8.1 -> 7.9Khem Raj
Refresh patches against new baseline Change-Id: I34c5a284c12f669ff3539a363e5eded15eeeeb23 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-03-09gdb: add whitespace to _appendRoss Burton
Add leading whitepace to EXTRA_OECONF_append so it doesn't rely on the original value ending with trailing whitespace. Spotted by Robert P. J. Day. Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-02-23recipes: Delete superfluous assignments, S = ${WORKDIR}/${BP}Robert P. J. Day
Given that bitbake.conf sets the default values: BP = "${BPN}-${PV}" S = "${WORKDIR}/${BP}" there are a number of recipes that set the variable S completely superfluously, so get rid of them. Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-01-29arch-mips.inc: Change definition of TRANSLATED_TARGET_ARCHMark Hatle
[YOCTO #7230] In certain system configurations TRANSLATED_TARGET_ARCH will not expand in the right order for gcc-cross-candian-mips64n32 to be generated properly. This will cause SDKs to fail to generate properly. Changing the global definition of TRANSLATED_TARGET_ARCH always expands the ABIEXTENSION, which causes the OVERRIDES to pick it up as well. This effectively defines a new class of overrides for the 'n32'. The side effect is that we need to duplicate some mips64 overrides, and redefine others that were previously 'n32' or 'mips64' exclusive to have the correct semantics. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2014-12-03gdb: disable GuileRoss Burton
GDB 7.8 added Guile support, and it will auto-detect if Guile is present (which is non-deterministic, so bad), and if it's present will fail to find the guild binary as it doesn't consider the sysroot. For now disable Guile support in GDB, if there is a need to have it enabled in the future then GDB/Guile can be fixed. Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-09gdb: 7.7.1 -> 7.8.1Richard Purdie
Drop patch merged upstream. Also drop old arm/thumb patch which breaks the compile on arm. We've had this since 2010 (or longer) and the issue has likely been fixed upstream by now. If not someone with more knowledge will need to figure out the fix against the current codebase. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-11-04gdb-cross: build with python supportAndreas Müller
variable contents are displayed properly when debugging qt applications remotely see [1] for further details [1] http://qt-project.org/doc/qtcreator-2.6/creator-debugging-helpers.html#debugging-helpers-based-on-python Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-09-30gdb-cross-canadian: Add to sstate whitelistRichard Purdie
The various gdb variants overwrite in datadir so whitelist this for now, they are the same files and this is not an issue. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-09-10gdb: allow compilation for __aarch64__Joe Slater
asm/ptrace.h must be included in two files. Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-08-15gdb: Add a dependency on zlibPeter Kjellerstedt
This solves the following warning: WARNING: QA Issue: gdb rdepends on zlib, but it isn't a build dependency? [build-deps] Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-07-17gdb: Upgrade 7.7 -> 7.7.1Richard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-13gdb: add PACKAGECONFIG for babeltraceChen Qi
Add PACKAGECONFIG for 'babeltrace' so that we don't have the implicit dependency which might lead to problems when building images. As an example of showing what problem we might have without this patch, see the following steps which would lead to a failure. 1. IMAGE_INSTALL_append = " gdb" 2. bitbake babeltrace 3. bitbake gdb 4. bitbake babeltrace -ccleansstate 5. bitbake core-image-minimal The rootfs process would fail with the following error message. error: Can't install gdb-7.7-r0@i586: no package provides babeltrace >= 1.2.1+git0+66c2a20b43 Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-01Add texinfo.bbclass; recipes that use texinfo utils at build-time inherit it.Max Eliaser
The class itself currently does nothing. The idea is to mark all recipes that make use of the texinfo utilities. In the future, this class could be used to suppress the generation/formatting of documentation for performance, explicitly track dependencies on these utilities, and eliminate Yocto's current dependency on the host system's texinfo utilities. Signed-off-by: Max Eliaser <max.eliaser@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-30gdb: upgrade to 7.7Laurentiu Palcu
Removed the following patch(es): * gdb-fix-cygwin-check-in-configure-script.patch (changes included in release) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-04-30binutils/gcc/gdb: Add TARGET_ARCH to PN for all cross recipesRichard Purdie
This allows them to co-exist together in the native sysroot, with one set of cross tools per target architecture. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-25Globally replace 'base_contains' calls with 'bb.utils.contains'Otavio Salvador
The base_contains is kept as a compatibility method and we ought to not use it in OE-Core so we can remove it from base metadata in future. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-08gdb: upgrade to 7.6.2Laurentiu Palcu
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-02Basic recipe formatting fixesPaul Eggleton
Fix statement indenting and spacing issues that I happened to notice. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2014-01-02Replace one-line DESCRIPTION with SUMMARYPaul Eggleton
A lot of our recipes had short one-line DESCRIPTION values and no SUMMARY value set. In this case it's much better to just set SUMMARY since DESCRIPTION is defaulted from SUMMARY anyway and then the SUMMARY is at least useful. I also took the opportunity to fix up a lot of the new SUMMARY values, making them concisely explain the function of the recipe / package where possible. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-12-12gdb-7.6.1: fix cygwin check in configure scriptSteffen Sledz
This is a fix which avoids false positives if the search pattern "lose" is found in path descriptions in comments generated by the preprocessor we hit in our development environment. [gdb Bug #16152] -- https://sourceware.org/bugzilla/show_bug.cgi?id=16152 Upstream-Status: Accepted Signed-off-by: Steffen Sledz <sledz@dresearch-fe.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-12-10meta/*: remove unnecessary patchesChong Lu
The following patches are found, but not used by any recipe, so we should remove them. meta/recipes-connectivity/avahi/files/fix_for_automake_1.11.2.patch meta/recipes-connectivity/dhcp/dhcp/fix-client-path.patch meta/recipes-connectivity/libnss-mdns/files/alignment-fix.patch meta/recipes-core/dbus/dbus-1.6.10/test-run-path.patch meta/recipes-core/gettext/gettext-0.16.1/fixchicken.patch meta/recipes-core/gettext/gettext-0.16.1/getline.m4.patch meta/recipes-core/systemd/systemd/use-rootlibdir.patch meta/recipes-core/util-linux/util-linux/remove-lscpu.patch meta/recipes-core/util-linux/util-linux/remove_sigsetmark.patch meta/recipes-core/util-linux/util-linux/uclibc-compile.patch meta/recipes-devtools/autoconf/autoconf/autoconf-x.patch meta/recipes-devtools/btrfs-tools/btrfs-tools/btrfs-progs-fix-parallel-build.patch meta/recipes-devtools/btrfs-tools/btrfs-tools/btrfs-progs-fix-parallel-build2.patch meta/recipes-devtools/cdrtools/cdrtools-native/no_usr_src.patch meta/recipes-devtools/elfutils/elfutils-0.155/elfutils-robustify.patch meta/recipes-devtools/gdb/gdb/libiberty-cross.patch meta/recipes-devtools/perl/perl-5.14.3/asm-pageh-fix.patch meta/recipes-devtools/python/python-native/sys_platform_is_now_always_linux2.patch meta/recipes-devtools/python/python-pygobject/generate-constants.patch meta/recipes-devtools/qemu/files/3f08ffb4a4741d147634761dc053ed386243a0de.patch meta/recipes-devtools/qemu/files/enable-i386-linux-user.patch meta/recipes-devtools/qemu/files/init-info.patch meta/recipes-devtools/rpm/rpm/rpm_fix_for_automake-1.12.patch meta/recipes-devtools/tcf-agent/tcf-agent/fix_tcf-agent.init.patch meta/recipes-extended/iputils/files/arping-break-libsysfs-dependency.patch meta/recipes-extended/libarchive/libarchive/0003-Patch-from-upstream-rev-2516.patch meta/recipes-extended/procps/procps-3.2.8/pagesz-not-constant.patch meta/recipes-gnome/gtk+/gtk+-2.24.22/no-demos.patch meta/recipes-gnome/libglade/libglade-2.6.4/no-deprecation.patch meta/recipes-graphics/mesa/mesa/0005-llvmpipe-remove-the-power-of-two-sizeof-struct-cmd_b.patch meta/recipes-graphics/xorg-lib/libxxf86dga/libxxf86dga-1.1.3_fix_for_x32.patch meta/recipes-kernel/kmod/kmod/fix-undefined-O_CLOEXEC.patch meta/recipes-kernel/linux-libc-headers/linux-libc-headers/connector-msg-size-fix.patch meta/recipes-kernel/linux/linux-yocto/tools-perf-no-scripting.patch meta/recipes-support/gnutls/gnutls/gnutls-texinfo-euro.patch meta/recipes-support/nspr/nspr/fix-build-on-aarch64.patch [YOCTO #5180] Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-10-30cross-canadian: Handle powerpc linux verses linux-gnuspeRichard Purdie
PowerPC toolchains can use the OS "linux" or "linux-gnuspe". This patch links them together so the one cross-canadian toolchain can support both. GCC_FOR_TARGET is set for the GCC recipe as otherwise configure can pick up an incorrect value. [YOCTO #5354] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-10-26gdb: upgrade to 7.6.1Laurentiu Palcu
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-18gdb: add PACKAGECONFIG for Python supportJonathan Liu
Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-06-04gdb: don't build with LZMASaul Wold
This was a floating dependency that got added in recently and was caught on the Autobuilder, disable building with LZMA to ensure consistent builds Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-29gdb-cross-canadian: use correct exec-prefix path for pythonSamuli Piippo
Incorrect exec-prefix path was given to gdb which leads to gdb startup failure when SDK is not installed to its original destination. Gdb relocates the exec-prefix path, so it will work for SDKs that are installed to different location. PYTHONHOME env in no longer neeeded for gdb. [YOCTO #3839] Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-05-12gdb-cross-canadian: set everything in gdb-cross-canadian.incMarcin Juszkiewicz
This allows out-of-tree versions to include one file to have all set. Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-05-12gdb: add 7.6 versionMarcin Juszkiewicz
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-05-09gdb: tabs -> spacesMarcin Juszkiewicz
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-09gdb: AArch64 lacks lttng supportMarcin Juszkiewicz
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-08gdb-cross: gdb-cross requires readline-nativeMike Crowe
gdb depends on readline so gdb-cross needs to depend on readline-native to build successfully. Signed-off-by: Mike Crowe <mac@mcrowe.com> Acked-by: Phil Blundell <philb@gnu.org> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-04-29gdb: Disable hard-coding of library rpathsPhil Blundell
GDB's configury has a tendency to hard-code the path where it found libexpat using "-Wl,--rpath". This is undesirable and leads to QA warnings. Fortunately, the helpful GDB maintainers have provided a "--disable-rpath" switch to turn this behaviour off. Let's use it and profit. Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-04-29gdb-cross: Adjust ${datadir} to avoid file conflicts in sysrootPhil Blundell
GDB wants to install a bunch of files in ${datadir}/gdb/python/gdb and ${datadir}/gdb/syscalls. These pathnames are invariant with TARGET_ARCH which means that if you build gdb multiple times for different targets they will all try to write to the same location and you get a lot of warning spew about manifest conflicts. Prevent this by factoring the target specification into ${datadir} so that different copies of GDB install their files into different paths. Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Saul Wold <sgw@linux.intel.com>