summaryrefslogtreecommitdiffstats
path: root/package/gdb
Commit message (Collapse)AuthorAgeFilesLines
* gdb: disable on BlackfinThomas Petazzoni2015-05-031-4/+4
| | | | | | | | | | | | | | | | | gdbserver does not build on Blackfin FLAT (undefined reference to `_td_thr_tlsbase') and while it builds on Blackfin FDPIC, it's pretty unlikely that it is going to work properly with the cross-gdb provided by the Analog Devices toolchain: the Analog Devices toolchain provides a 6.6 cross-gdb, while we use gdb 7.8.2 for gdbserver. Therefore, let's simply disable gdb completely for Blackfin. Fixes: http://autobuild.buildroot.org/results/2e5/2e5310d0e869f036ec70b978c62c7bd9d3d2bd70/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* gdb: add hash fileGustavo Zacarias2015-04-281-0/+7
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/gdb: backport xtensa gdbserver fixesMax Filippov2015-04-204-0/+186
| | | | | Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/gdb: gdb 7.9 fix uClibc build whitout MMURomain Naour2015-04-121-0/+34
| | | | | | Signed-off-by: Romain Naour <romain.naour@openwide.fr> Cc: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/gdb: fix uClibc build whitout MMURomain Naour2015-04-111-0/+34
| | | | | | | | Fixes: http://autobuild.buildroot.net/results/9e4/9e4df085319e346803c26c65478accb27eb950ae Signed-off-by: Romain Naour <romain.naour@openwide.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: indentation cleanupJerzy Grzegorek2015-03-311-10/+10
| | | | | | | This commit doesn't touch infra packages. Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* gdb: deprecate version 7.7.xGustavo Zacarias2015-03-291-0/+1
| | | | | | | | Now that 7.9 was added and 7.8.x is default we don't want to have a dozen versions so mark it as deprecated. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* gdb: switch default to 7.8.xGustavo Zacarias2015-03-291-3/+3
| | | | | | | Now that we've got 7.9 added default to version 7.8.x Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* gdb: add version 7.9Gustavo Zacarias2015-03-292-5/+8
| | | | | | | | | Add gdb version 7.9, and adjust the tarball logic to default to .tar.xz (for 7.8 & 7.9), fall back to .tar.bz2 for 7.7.x and leave the rest alone. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/gdb: fix build with glibc 2.20 (2)Romain Naour2015-03-201-0/+37
| | | | | | | | | | | Backport a second patch from gdb 7.8 for aarch64. Fixes: http://autobuild.buildroot.net/results/2fc/2fcf1a40a08baf881fdbccd070b1a1a6c89127e1/ Signed-off-by: Romain Naour <romain.naour@openwide.fr> Tested-by: Steven Noonan <steven@uplinklabs.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* gdb: fix target gdb building from gitAlexey Brodkin2015-03-161-0/+1
| | | | | | | | | | | | | | | | Currently we only add "host-texinfo" dependency for host GDB built from git sources. But in case of target gdb texinfo won't be built and so gdb building will fail on attempt to build documentation. Fix is trivial - add "host-texinfo" as a dependency for target gdb in the sme way as we disable documentation building via both GDB_CONF_ENV (for target) and HOST_GDB_CONF_ENV (host) GDB flavors. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Anton Kolesov <akolesov@synopsys.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/gdb: fix build with glibc 2.20Romain Naour2015-03-131-0/+36
| | | | | | | | | | Backport a patch from gdb 7.8. Fixes: http://autobuild.buildroot.net/results/3d5/3d5cb8bea0964f0d46733e47d04a053021e63643/ Signed-off-by: Romain Naour <romain.naour@openwide.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/gdb: farewell avr32Yann E. MORIN2015-02-143-17/+3
| | | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* ARC: bump tools to 2014.12 releaseAlexey Brodkin2015-02-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now when new shiny tools are released by Synopsys we're ready for version update in Buildroot again. More details about arc-2014.12 release are available here: https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/tag/arc-2014.12 Following patches were removed from GCC since they are a part of release now: * 200-size_type_unsigned_int.patch * 300-ptrdiff_type_int.patch * 400-call-arc_hazard-before-branch-shortening.patch * 401-fix-length-attribute-for-casesi_load-pattern.patch * 402-fix-length-of-instructions-that-are-in-delay-slot-and-needs-to-be-predicated.patch * 403-update-casesi_compact_jump-instruction-length.patch But since arc-2014.12 tools are still based on GCC 4.8 following patches ar still relevant so moving to the new folder to match ARC gcc bump. * 100-libstdcxx-uclibc-c99.patch * 910-gcc-poison-system-directories.patch Binutils are still based on 2.23 so following patch still makes sense: * 600-poison-system-directories.patch Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Anton Kolesov <akolesov@synopsys.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* gdb: bump to version 7.8.2Gustavo Zacarias2015-01-161-1/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* gdb: bump to 7.8.1Thomas Petazzoni2014-12-292-2/+4
| | | | | | | | This commit bumps to 7.8.1, and updates the logic to use .tar.xz tarballs so that it applies to all 7.8.x versions. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/gdb: fix shared-only buildRomain Naour2014-12-211-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | The shared build only of gdb is actually not supported. When --disable-static is given to the gdb's main configure script, it also disable the static build of bundled libraries like bfd, readline and opcodes, which must be build statically. Force the static build of bundled libraries by adding --enable-static in GDB_CONF_OPTS. Fixes: http://autobuild.buildroot.net/results/219/21979e730dca1fce5bdda9a4c7fad4485e788866/ http://autobuild.buildroot.net/results/c10/c1096d0bd22de5c6feba848f743601ad0416a944/ http://autobuild.buildroot.net/results/d8a/d8a5bcc7fa374fb0c916a9d0f33ef283109cb404/ http://autobuild.buildroot.net/results/22a/22a86d0f1df0fc4698c0f734f3d659e6317404a4/ http://autobuild.buildroot.net/results/404/404e61e5c30040ee5756f4b5839149dca38660d4/ And many more. Signed-off-by: Romain Naour <romain.naour@openwide.fr> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* gdb: unbreak host-gdb with python support if python3 is enabledPeter Korsgaard2014-12-011-1/+1
| | | | | | | | Fixes http://autobuild.buildroot.net/results/ef4/ef487b495e57f098af0fe9508d430b56b0750339/ Explicitly pass the path to host-python to ensure it gets used. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package: indentation cleanupJerzy Grzegorek2014-11-021-1/+1
| | | | | Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* .mk files: bulk aligment and whitespace cleanup of assignmentsThomas De Schampheleire2014-10-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Buildroot coding style defines one space around make assignments and does not align the assignment symbols. This patch does a bulk fix of offending packages. The package infrastructures (or more in general assignments to calculated variable names, like $(2)_FOO) are not touched. Alignment of line continuation characters (\) is kept as-is. The sed command used to do this replacement is: find * -name "*.mk" | xargs sed -i \ -e 's#^\([A-Z0-9a-z_]\+\)\s*\([?:+]\?=\)\s*$#\1 \2#' -e 's#^\([A-Z0-9a-z_]\+\)\s*\([?:+]\?=\)\s*\([^\\]\+\)$#\1 \2 \3#' -e 's#^\([A-Z0-9a-z_]\+\)\s*\([?:+]\?=\)\s*\([^\\ \t]\+\s*\\\)\s*$#\1 \2 \3#' -e 's#^\([A-Z0-9a-z_]\+\)\s*\([?:+]\?=\)\(\s*\\\)#\1 \2\3#' Brief explanation of this command: ^\([A-Z0-9a-z_]\+\) a regular variable at the beginning of the line \([?:+]\?=\) any assignment character =, :=, ?=, += \([^\\]\+\) any string not containing a line continuation \([^\\ \t]\+\s*\\\) string, optional whitespace, followed by a line continuation character \(\s*\\\) optional whitespace, followed by a line continuation character Hence, the first subexpression handles empty assignments, the second handles regular assignments, the third handles regular assignments with line continuation, and the fourth empty assignments with line continuation. This expression was tested on following test text: (initial tab not included) FOO = spaces before FOO = spaces before and after FOO = tab before FOO = tab and spaces before FOO = tab after FOO = tab and spaces after FOO = spaces and tab after FOO = \ FOO = bar \ FOO = bar space \ FOO = \ GENIMAGE_DEPENDENCIES = host-pkgconf libconfuse FOO += spaces before FOO ?= spaces before and after FOO := FOO = FOO = FOO = FOO = $(MAKE1) CROSS_COMPILE=$(TARGET_CROSS) -C AT91BOOTSTRAP3_DEFCONFIG = \ AXEL_DISABLE_I18N=--i18n=0 After this bulk change, following manual fixups were done: - fix line continuation alignment in cegui06 and spice (the sed expression leaves the number of whitespace between the value and line continuation character intact, but the whitespace before that could have changed, causing misalignment. - qt5base was reverted, as this package uses extensive alignment which actually makes the code more readable. Finally, the end result was manually reviewed. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Cc: Yann E. Morin <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* packages: rename FOO_CONF_OPT into FOO_CONF_OPTSThomas De Schampheleire2014-10-041-13/+13
| | | | | | | | | | | | To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_CONF_OPT. Sed command used: find * -type f | xargs sed -i 's#_CONF_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* gdb: add support for Python in target gdbThomas Petazzoni2014-09-163-0/+50
| | | | | | | | | | | | | | This commit adds a new option BR2_PACKAGE_GDB_PYTHON to enable Python support in the target gdb. Since we can assume that the user will be aware that Python is needed to get Python support in gdb, we chose to use a "depends on" dependency instead of a "select" dependency. The other weird thing is the need for a wrapper shell script to replace gdb's provided python-config.py script. See the shell script comment itself for all the details. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* gdb: add support for Python in host gdbThomas Petazzoni2014-09-162-0/+12
| | | | | | | | This commit adds an option BR2_PACKAGE_HOST_GDB_PYTHON that allows to enable Python support in the cross gdb built by Buildroot. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* gdb: reword prompt for host TUI optionThomas Petazzoni2014-09-161-1/+1
| | | | | | | | | There is no need to name the option "GDB TUI support", since this option is already visible "below" GDB in menuconfig/xconfig. Naming it "TUI support" is therefore sufficient. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* gdb: enable tui support for target packageVincent Stehlé2014-09-162-1/+22
| | | | | | | | | | | | | | | | | | | Add a configuration option to compile the gdb target package with the --enable-tui switch. This is done pretty much in the same way as in commit 2474fb0bf1a7 ("host-gdb: enable terminal user interface support"), but for the gdb package on target. This makes sense only when a full debugger is installed on target, not for a gdbserver. [Thomas: remove "default n" since this is the default, adjust the prompt of the option, and rewrap the help text.] Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net> Cc: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* gdb: needs host-ncurses on the hostThomas Petazzoni2014-09-161-3/+3
| | | | | | | | | | | | | | | | | | Commit 2474fb0bf1a786f3a170631f3dbce8b38092f986 ("host-gdb: enable terminal user interface support") has added TUI support to host gdb, and therefore added a dependency on host-ncurses when TUI support is enabled. However, host-ncurses is not only needed for TUI support, it is needed for gdb in all cases as well, so this commit adds a dependency of host-gdb to host-ncurses. Fixes: http://autobuild.buildroot.org/results/153/153dbdc42103074f7a0895e8871e2eee4eae3325/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* gdb: remove version 7.6Thomas Petazzoni2014-09-161-5/+0
| | | | | | | | Now that the default version has changed to 7.7, we can get rid of the older gdb 7.6 version. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* gdb: switch to 7.7 as the default versionThomas Petazzoni2014-09-161-4/+3
| | | | | | | | Now that gdb 7.8 is out, it's time to move to 7.7 as the default version instead of 7.6. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* gdb: add version 7.8Thomas Petazzoni2014-09-162-0/+8
| | | | | | | | | This commit adds support for the 7.8 version of gdb. Note that the tarball of this version is not available as a .tar.bz2, so we have to add a special case and download the .tar.xz for this version. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* ARC: bump tools to 2014.08 releaseAlexey Brodkin2014-09-012-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | Now when new shiny tools are released by Synopsys we're ready for version update in Buildroot. Important change in this release is switching to combined "binutils-gdb" repo in accordance to upstream move. Following patch now is a part of the most recent relese: https://github.com/foss-for-synopsys-dwc-arc-processors/binutils-gdb/commit/e6ab8cac627a44a7594aeb907a579d8d2f066ba5 So dropping it. package/binutils/arc-4.8-R3/0001-arc-Honor-DESTDIR-in-custom-Makefile.patch Since arc-2014.08 tools are still based on GCC 4.8 following patch is still relevant so moving to the new folder to matxh ARC gcc bump. package/gcc/arc-4.8-R3/100-libstdcxx-uclibc-c99.patch -> package/gcc/arc-2014.08/100-libstdcxx-uclibc-c99.patch Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Anton Kolesov <akolesov@synopsys.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* gdb: fixup host gdb tui optionPeter Korsgaard2014-08-301-1/+0
| | | | | | | | Seems like I accidently picked v1 instead of v2 from patchwork. BR2_PACKAGE_NCURSES is for ncurses on the target, not host. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* host-gdb: enable terminal user interface supportYegor Yefremov2014-08-302-1/+13
| | | | | | | | Add a configuration option to compile host-gdb with the --enable-tui switch. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* gdb: allow building on AArch64 systemsalex.bennee@linaro.org2014-08-061-2/+2
| | | | | | | | gdb has had AArch64 support since 7.6 which is now the default minimum version of GDB in the tree. Older versions are now legacy. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: remove the trailing slash sign from <PKG>_SITE variableJerzy Grzegorek2014-07-311-1/+1
| | | | | | | | | | | | Since the trailing slash is stripped from $($(PKG)_SITE) by pkg-generic.mk: $(call DOWNLOAD,$($(PKG)_SITE:/=)/$($(PKG)_SOURCE)) so it is redundant. This patch removes it from $(PKG)_SITE variable for BR consistency. Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* binutils, gdb: support unified binutils-gdb git repositoryAnton Kolesov2014-07-301-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If Binutils and/or GDB are fetched from the unified binutils-gdb repository, then the tarball will contain both Binutils and GDB sources, unlike the "normal" tarballs that contain only the titular package. To keep packages separated in Buildroot we need to disable undesired components when configuring. Binutils and GDB migrated to a common Git repository in the October 2013 [1]. Previous Git repositories were incomplete copies of CVS repository which copied only the relevant files (no binutils files in GDB, and vice versa). In the new binutils-gdb repository there is no such separation and a result all files exist in directory after checkout. So if "configure" and "make" are used without explicit targets, all projects will be built: binutils, ld, gas, bfd, opcodes, gdb, etc. In case of Buildroot this would mean that selecting Binutils only, still will build both Binutils and GDB. And if GDB is selected as well, then both packages will be built two times, and Binutils from GDB directory will overwrite initial build of Binutils (or vice versa if Binutils will be built after the GDB). This is a serious problem, because binutils and GDB use separate branches in this common repository. In case of Buildroot this means that separate Git commits (or tags) should be used when downloading source from Git. This affects only Git repositories, because GNU release tarballs still contain only relevant packages. This change is backward compatible, because if "normal" tarball is used (without extra directories), than --disable-* configure options are just ignored by configure. [1] https://sourceware.org/ml/gdb/2013-10/msg00071.html [Thomas: use variables to factorize options, and add comments in the relevant .mk files to explain what's going on.] Signed-off-by: Anton Kolesov <Anton.Kolesov@synopsys.com> Cc: Alexey Brodkin <abrodkin@synopsys.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* gdb: remove versions 7.4 and 7.5Thomas Petazzoni2014-07-107-570/+0
| | | | | | | | | We already default to 7.6 for all architectures (except AVR32, ARC and Microblaze that have their specific versions), and we have added 7.7 recently. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Merge branch 'next'Peter Korsgaard2014-06-011-2/+14
|\ | | | | | | | | | | | | Conflicts: package/gdb/Config.in.host Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
| * package/gdb: change default gdb from 7.5 to 7.6Cody P Schafer2014-05-261-1/+1
| | | | | | | | | | Signed-off-by: Cody P Schafer <cody@linux.vnet.ibm.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
| * package/gdb: add gdb 7.7.x (7.7.1) and 7.6.x (7.6.2)Cody P Schafer2014-05-261-2/+13
| | | | | | | | | | | | | | | | | | | | To prep for powerpc64le, we also disable gdb prior to 7.7.1 on powerpc64le. The default gdb on powerpc64le is set to 7.7. Signed-off-by: Cody P Schafer <cody@linux.vnet.ibm.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | gdb: remove remaining 6.6a reference for bfinPeter Korsgaard2014-05-271-2/+0
| | | | | | | | | | | | | | | | | | | | | | Fixes http://autobuild.buildroot.net/results/3e2/3e2b733758651f7a168832de2d3b34afc171609d/ We recently (dfc3cc23af: gdb: switch to 7.x for Blackfin) moved to the normal 7.x versions for bfin, but Config.in wasn't updated, causing bfin to still use the old 6.6a variant (but without the uClibc patch) if the host-gdb isn't selected, breaking the build. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | gdb: don't force makeinfo programs for GDB_FROM_GIT variantsPeter Korsgaard2014-05-271-4/+4
| | | | | | | | | | | | | | | | | | | | | | Fixes: http://autobuild.buildroot.net/results/16d/16d4a83eb1e1b9d65641de47f2a2bc5d8ab18bdd/ http://autobuild.buildroot.net/results/df6/df64fe6e834f016267f522f089e00a08b1fd893e/ The GDB_FROM_GIT variants unconditionally use makeinfo, so ensure our host-texinfo version is used instead of the missing script. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | gdb: switch to 7.x for BlackfinThomas Petazzoni2014-05-204-396/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For some reason, we were keeping gdb version 6.6a specially for Blackfin. However, it turns out that support for Blackfin was merged in gdb 7.4 (cross-gdb and gdbserver, not native gdb on the target). Therefore, we can simply remove the support for version 6.6a and use 7.5 as the default. Both 7.4 and 7.5 were built tested, including cross-gdb and gdbserver. The original reason to switch to 7.x is that 6.6a doesn't build for Blackfin FLAT, and while it builds for Blackfin FDPIC, it only builds libiberty.a and does not actually build a cross debugger. Fixes: http://autobuild.buildroot.org/results/b47/b47f85553336b7f63ee4ecdf8598374ce4a225a3/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | gdb: fix build of host-gdb 7.4Thomas Petazzoni2014-05-201-0/+3
| | | | | | | | | | | | | | | | | | The build of host-gdb 7.4 fails due to some texinfo issue. To avoid that, use the same trick as is used for the target variant of gdb: tell gdb that makeinfo is missing. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | gdb: add xtensa fixes for 7.5.1Max Filippov2014-05-162-0/+102
| | | | | | | | | | | | | | | | Two fixes for xtensa are still applicable to gdb-7.5.1, which is now the default; copy them from 7.4.1. This fixes native gdb build for xtensa. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | gdb: replace xtensa patches with proper backports from binutils-gdbMax Filippov2014-05-164-41/+102
|/ | | | | | | The functionality is unchanged. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* toolchain: generate a gdbinit fileThomas Petazzoni2014-05-051-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | This commit slightly improves the external toolchain backend, and the gdb build logic to create a file named $(STAGING_DIR)/usr/share/buildroot/gdbinit which can be used as a gdbinit file using gdb -x option. This allows gdb to automatically use the proper sysroot to find libraries. The initial insight for this patch comes from the report of Oded Hanson <OHanson@xsightsys.com>, who found an issue with the Eclipse Buildroot plugin, which was setting a solib-path in gdb, but not a sysroot. Setting a solib-path was enough to find shared libraries, but not the dynamic linker. And since Eclipse doesn't allow to set the sysroot in any other way than giving a gdbinit file, it makes sense to have Buildroot generate a gdbinit file (which can be used in other situations than Eclipse). To achieve this, this commit introduces a gen_gdbinit_file helper in toolchain/helpers.mk, and uses it for the internal toolchain and external toolchain backends. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> [ThomasDS: minor updates in commit message] Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* gdb: arc: bump to arc-4.8-R3 releaseAnton Kolesov2014-04-291-1/+1
| | | | | | Signed-off-by: Anton Kolesov <Anton.Kolesov@synopsys.com> Cc: Alexey Brodkin <Alexey.Brodkin@synopsys.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* gdb: not available on NIOS IIThomas Petazzoni2014-04-261-2/+2
| | | | | | | | | | | | The mainline gdb does not have support for NIOS II, even just for gdbserver. Fixes: http://autobuild.buildroot.org/results/e57/e57aa016d6a73e59c404a7eb43c7bf5c16cbcbdc/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Merge branch 'next'Peter Korsgaard2014-02-281-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Makefile package/dmraid/Config.in package/gdb/Config.in.host package/linux-headers/linux-headers.mk package/python/python.mk package/python3/python3.mk package/rt-tests/Config.in package/sdl/sdl.mk package/systemd/systemd-01-fix-getty-unit.patch package/systemd/systemd-02-fix-page-size.patch package/systemd/systemd-03-uclibc-fix.patch package/udev/Config.in package/udisks/Config.in package/vlc/vlc.mk system/Config.in Quite some merge conflicts, hopefully I didn't screw up anything. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
| * gdb: arc: bump to git commit cb15accAnton Kolesov2014-02-131-1/+1
| | | | | | | | | | Signed-off-by: Anton Kolesov <anton.kolesov@synopsys.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
OpenPOWER on IntegriCloud