summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gdb
Commit message (Collapse)AuthorAgeFilesLines
* gdb: Define alignof using _Alignof when using C11 or newerKhem Raj2023-01-282-0/+56
| | | | | | | | (From OE-Core rev: 131c753e000bf3c8814823d36d18e82f4dee26f2) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* readline: update 8.1.2 -> 8.2Alexander Kanavin2022-11-152-0/+40
| | | | | | | | | | | | Replace configure-fix.patch with --with-shared-termcap-library Backport a compatibility fix for gdb. (From OE-Core rev: 72aea7be34cd88030283b989d5381a5fd944f53d) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb: Upgrade to 12.1Khem Raj2022-05-1313-50/+49
| | | | | | | | | | | | | Release Announcement [1] and Notes [2] [1] https://lists.gnu.org/archive/html/info-gnu/2022-05/msg00000.html [2] https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob_plain;f=gdb/NEWS;hb=gdb-12.1-release (From OE-Core rev: 8d42315c074a9746df0586136b063ea0e58739db) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta/scripts: Automated conversion of OE renamed variablesRichard Purdie2022-02-211-1/+1
| | | | | | (From OE-Core rev: aa52af4518604b5bf13f3c5e885113bf868d6c81) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta/meta-selftest/meta-skeleton: Update LICENSE variable to use SPDX ↵Richard Purdie2022-02-201-1/+1
| | | | | | | | | | | | | license identifiers An automated conversion using scripts/contrib/convert-spdx-licenses.py to convert to use the standard SPDX license identifiers. Two recipes in meta-selftest were not converted as they're that way specifically for testing. A change in linux-firmware was also skipped and may need a more manual tweak. (From OE-Core rev: ceda3238cdbf1beb216ae9ddb242470d5dfc25e0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb: update 11.1 -> 11.2Alexander Kanavin2022-02-206-349/+31
| | | | | | | | | | | | Simplyfy .inc structure: merge gdb.inc into gdb_11.2.bb, rename gdb-${PV}.inc to gdb.inc. This will allow easier automatic updates. Drop upstreamed patch. (From OE-Core rev: ee8ec22c75f5eacae7a6b1cafe0df6e21acde479) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb: Drop sh4 support patchKhem Raj2021-12-082-915/+0
| | | | | | | | | This patch needs to be upstreamed, its not clear if it still works. (From OE-Core rev: 5a009e67a9e6549bab495363cc7434384a4c94c4) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb: fix aarch64 remote debugging gdb/28355Matthias Klein2021-12-082-0/+318
| | | | | | | | | | | | | The raspberry3-64 machine from meta-raspberrypi is affected by this bug. https://sourceware.org/bugzilla/show_bug.cgi?id=28355 https://sourceware.org/git/?p=binutils-gdb.git;a=patch;h=eb79b2318066cafb75ffdce310e3bbd44f7c79e3 https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=7fd8546853e3f0333ba8d8238413aba7eb45c69f (From OE-Core rev: 6643692a642b863b546e1ea96d8e486330061495) Signed-off-by: Matthias Klein <matthias@extraklein.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb-common: Add --with-liblzma-prefix in xz PACKAGECONFIG.Jim Wilson2021-11-211-1/+1
| | | | | | | | | | | | | | | | | | | This fixes an arch linux gdb configure error with liblzma installed. Without the --with-liblzma-prefix option, when configuring the target gdb, gdb configure may find the native liblzma (on a non-multiarch system) and try to use it, which gives a configure error. We already use --with-libexpat-prefix for expat, we just need to do the same for liblzma. This was reported here: https://github.com/sifive/meta-sifive/issues/34 https://github.com/sifive/freedom-u-sdk/issues/148 (From OE-Core rev: 56623848f45cf475f909beb75209323a89837169) Signed-off-by: Jim Wilson <jim.wilson.gcc@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb-cross: add dependency on gmp-nativeMartin Jansa2021-11-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * it was already added for target and cross-canadian gdb in: commit 4643d1eb222151384f77d13a936537aae5ca3fe6 Author: Khem Raj <raj.khem@gmail.com> Date: Fri Nov 5 17:37:33 2021 -0700 gdb: Add dependency on libgmp gdb 11 has added this library as must have * but gdb-cross.inc overwrites DEPENDS from gdb-common.inc and needs the dependency as well as shown in log.do_compile: checking for libgmp... no configure: error: GMP is missing or unusable make[1]: *** [Makefile:9418: configure-gdb] Error 1 and in gdb-cross-i686/11.1-r0/build-i686-oe-linux/gdb/config.log: configure:10402: checking for libgmp configure:10422: gcc -o conftest -isystem/OE/tmp-glibc/work/x86_64-linux/gdb-cross-i686/11.1-r0/recipe-sysroot-native/usr/include -O2 -pipe -isystem/OE/tmp-glibc/work/x86_64-linux/gdb-cross-i686/11.1-r0/recipe-sysroot-native/usr/include -I/OE/tmp-glibc/work/x86_64-linux/gdb-cross-i686/11.1-r0/recipe-sysroot-native/usr/include -L/OE/tmp-glibc/work/x86_64-linux/gdb-cross-i686/11.1-r0/recipe-sysroot-native/usr/lib -L/OE/tmp-glibc/work/x86_64-linux/gdb-cross-i686/11.1-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,/OE/tmp-glibc/work/x86_64-linux/gdb-cross-i686/11.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,/OE/tmp-glibc/work/x86_64-linux/gdb-cross-i686/11.1-r0/recipe-sysroot-native/lib -Wl,-rpath,/OE/tmp-glibc/work/x86_64-linux/gdb-cross-i686/11.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,/OE/tmp-glibc/work/x86_64-linux/gdb-cross-i686/11.1-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=/OE/tmp-glibc/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 conftest.c -lncursesw -lm -ldl -lgmp >&5 conftest.c:52:10: fatal error: gmp.h: No such file or directory 52 | #include <gmp.h> | ^~~~~~~ * this fails only when the host OS doesn't have GMP installed otherwise it will use libgmp from host and ignore --with-libgmp-prefix=/OE/tmp-glibc/work/x86_64-linux/gdb-cross-i686/11.1-r0/recipe-sysroot-native/OE/tmp-glibc/work/x86_64-linux/gdb-cross-i686/11.1-r0/recipe-sysroot-native/usr (From OE-Core rev: 09a7d9d8d83529d82f847e52feac7719efb02a99) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb: Add dependency on libgmpKhem Raj2021-11-072-2/+3
| | | | | | | | | gdb 11 has added this library as must have (From OE-Core rev: 4643d1eb222151384f77d13a936537aae5ca3fe6) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb: Upgrade to 11.1Khem Raj2021-11-0718-1044/+73
| | | | | | | | | | | | Drop backported patches Changes are here [1] [1] https://sourceware.org/pipermail/gdb-announce/2021/000129.html (From OE-Core rev: e1c421c0450212201ad9737bf203eac2bfcd37db) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Add missing pkgconfig inheritRichard Purdie2021-09-213-2/+3
| | | | | | | | | | | | Various recipes were missing a pkgconfig inherit or pkgconfig-native dependency despite using pkgconfig. Add the inherit to igt-gpu-tools/gdb/libmodulemd/libwpe/xwayland/waffle shaderc/iputils/wpebackend-fdo/lttng-ust/cargo. (From OE-Core rev: 777d9744570c2dc119dc5d04985896bbb1da5885) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: convert nested overrides leftovers to new syntaxDenys Dmytriyenko2021-08-041-4/+4
| | | | | | | | | Those were missed in previous rounds of automated and manual conversion. (From OE-Core rev: 22f9c7268b542baf6cd8aa0e34c8fb7aa1579e08) Signed-off-by: Denys Dmytriyenko <denis@denix.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Manual override fixesRichard Purdie2021-08-021-1/+1
| | | | | | | | | | The automated conversion of OE-Core to use the new override sytax isn't perfect. This patches some mis-converted lines and some lines which were missed by the automation. (From OE-Core rev: 4e9a06b64b43131b731fb59a0305f78a98e27fbd) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Convert to new override syntaxRichard Purdie2021-08-025-16/+16
| | | | | | | | | | | | This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb: Add native GDB support for ARCAlexey Brodkin2021-06-175-0/+972
| | | | | | | | | | | | | | | | | | | | This adds support of so-called "native" GDB for ARC processors. It was submitted upstream a bit late for inclusion in v10.x, but already in the upstream "master" branch and will be an essential part of v11.1 whenever it happens. These are the changes from upstream "master": * https://sourceware.org/git?p=binutils-gdb.git;a=commit;h=b4e3cd0440109d0a5552d3313ccbd35c8103335b * https://sourceware.org/git?p=binutils-gdb.git;a=commit;h=d4af727286e3a9f177ba11677fbd3a012d36558a * https://sourceware.org/git?p=binutils-gdb.git;a=commit;h=46023bbe81355230b4e7b76d3084337823d02362 * https://sourceware.org/git?p=binutils-gdb.git;a=commit;h=04c9f85efcd8df5fc482ce97c0104cc7dd5d19e6 Thanks a bunch to Anton & Shahab who made it possible! (From OE-Core rev: 3429acea0f4a0b59f233947defecdf919c7b1799) Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb-cross: enable debuginfodAlexander Kanavin2021-06-172-2/+4
| | | | | | | | | | This allows avoiding having gdb inside the target image, which might be too resource-constrained, or otherwise inconvenient. (From OE-Core rev: b903f250a7bbf04d5853f537b7565a80fb7ce1f3) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb: upgrade 10.1 -> 10.2wangmy2021-05-014-1/+1
| | | | | | | (From OE-Core rev: 7505165ac90ba34a465eb707c7e6c8ccbeae024d) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* default-distrovars.inc: add debuginfod to default DISTRO_FEATURESAlexander Kanavin2021-04-231-1/+1
| | | | | | | | | | | | | | | Obtaining debug information by having it served automatically via http is far more pleasant than messing about with debugfs and gdbserver or transferring and installing -dbg packages by hand. I believe we should follow the desktop distros and have it enabled out of the box. Please see the following commit for the description of how it works. (From OE-Core rev: 024c88c82791a113b614abf61ffd82e097bf21d1) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta/recipes-devtools: Add HOMEPAGE / DESCRIPTIONDorinda2021-02-261-0/+1
| | | | | | | | | | | Added HOMEPAGE and DESCRIPTION for recipes with missing decriptions or homepage [YOCTO #13471] (From OE-Core rev: bb05814335e7101bfd8df0a11dc18a044e867bed) Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb-common.inc: add PACKAGECONFIG for debuginfodDorinda2021-02-261-0/+1
| | | | | | | | | Added PACKAGECONFIG for debuginfod (From OE-Core rev: 0bebcfcebccf6d746c1d77c15cf7b5b263a9b606) Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb: Remove "ALLOW_EMPTY_gdbserver" on riscvYi Fan Yu2021-02-261-3/+0
| | | | | | | | | | | | | | | | | | | | Revert 21e748d620022a75c0c2d0ab4a763a5992e8f154 "riscv32" Revert 111f65528e3c0b147c1713cfc684958f94c41cd6 "riscv64" Reason: The following commit present in binutils-2_35 commit bf84f7066626c78884436e1c39fb60f04c665f21 Author: Maciej W. Rozycki <macro@wdc.com> Date: Wed Feb 19 01:24:37 2020 +0000 gdbserver: Add RISC-V/Linux support (From OE-Core rev: 8f018212d16d43bd9c716248dfea195a3b46df3a) Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb: Drop SIGRTMIN definition patchKhem Raj2021-02-162-51/+0
| | | | | | | | | | | | This has been already fixed in gdb via https://sourceware.org/pipermail/gdb-patches/2015-October/128532.html and W_STOPCODE is fixed by including gdbsupport/gdb_wait.h in nat/linux-nat.h (From OE-Core rev: b5bafde095fedb2c6f6a526c647dd08f07444f6f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb: add PACKAGECONFIG for xz (lzma) compression supportDan Callaghan2020-11-131-1/+2
| | | | | | | | | | | | Similar to elfutils, when xz support is built into gdb it will be able to read xz-compressed ELF sections containing debuginfo. This is used by the "mini debuginfo" format: https://sourceware.org/gdb/onlinedocs/gdb/MiniDebugInfo.html (From OE-Core rev: b7e2f53745977f3f4a472f352e318b4bea8b20f9) Signed-off-by: Dan Callaghan <dan.callaghan@opengear.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb: Update to 10.x releaseKhem Raj2020-11-0216-108/+138
| | | | | | | | | | | | | | | | | | | here is full announcement [1] Do not add --disable-static, without adding --enable-shared because certain libraries e.g. libctf expects the default to be static which is only disabled if --enable-shared is specified Do not limit make subdirs, this is only needed when building in a unified tree, here builds are happening from a release tarball so it is redundant [1] https://www.gnu.org/software/gdb/download/ANNOUNCEMENT (From OE-Core rev: 8fb5fe5a82d173428d96ab43bab25b89ac6f25ea) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb: upgrade 9.1 -> 9.2zhengruoqin2020-05-304-2/+2
| | | | | | | (From OE-Core rev: b40adc3f9c5a9ee480b6ea85374481d13894ca6f) Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb: Upgrade to 9.1 releaseKhem Raj2020-02-1518-269/+123
| | | | | | | | | | | | | Drop security patches which are now in 9.1 already Forward port rest of patches to 9.1 Detailed changes [1] [1] https://lists.gnu.org/archive/html/info-gnu/2020-02/msg00008.html (From OE-Core rev: 4c1c01e023b123c86a418fdeddb69be097deef86) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb: Fix CVE-2019-1010180Vinay Kumar2019-11-252-0/+133
| | | | | | | | | | | | | | | Source: git://sourceware.org/git/binutils-gdb.git Tracking -- https://sourceware.org/bugzilla/show_bug.cgi?id=23657 Backported upstream commit 950b74950f6020eda38647f22e9077ac7f68ca49 to gdb-8.3.1 sources. Upstream-Status: Backport [https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=950b74950f6020eda38647f22e9077ac7f68ca49] (From OE-Core rev: 82a227e54e704ef9237c1613b9d3350fa26fe9dd) Signed-off-by: Vinay Kumar <vinay.m.engg@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb: Bump from 8.3 to 8.3.1Alistair Francis2019-10-095-101/+2
| | | | | | | (From OE-Core rev: e4113d148173da26b028e999bf69b8188aeed838) Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb: Mark gdbserver as ALLOW_EMPTY for riscv32Alistair Francis2019-09-161-0/+1
| | | | | | | | | | | riscv64 already has gdbserver set as ALLOW_EMPTY, so let's set it for riscv32 as well. (From OE-Core rev: 21e748d620022a75c0c2d0ab4a763a5992e8f154) Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb: Do not set musl specific CFLAGSKhem Raj2019-08-141-1/+0
| | | | | | | | | | | | | These settings are no longer needed because we define gl_cv_func_gettimeofday_clobber=no already and stat issue is alrwady fixed via [1] [1] https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=3c025cfe5efc44eb4dfb03b53dca28e75096dd1e (From OE-Core rev: c3f04bd4df3c67fc6c840fe0dd8e194e6663b02c) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub/libmpc/gdb: Use GNU_MIRROR in more recipesAdrian Bunk2019-08-031-1/+1
| | | | | | | (From OE-Core rev: 2f13b063f64c500f144a70d23a343223b5c70907) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb: fix CVE-2017-9778Anuj Mittal2019-07-192-0/+99
| | | | | | | (From OE-Core rev: 4fa03fa14f8facb134ecd772a99c25184d8a4cbd) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb: Let gdbserver be empty for riscv64Khem Raj2019-05-301-0/+3
| | | | | | | | | | gdbserver does not yet build for riscv64, therefore let the package be empty so we can build core-image-sato-sdk-ptest (From OE-Core rev: 111f65528e3c0b147c1713cfc684958f94c41cd6) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb: Upgrade from 8.2.1 to 8.3Alistair Francis2019-05-2111-232/+21
| | | | | | | | | | Bump GDB and change the oeqa selftest expression to allow ptests to pass. (From OE-Core rev: f31986ed9f82c48834b2f25979c93697228acbf7) Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb: Fix aarch64 build with muslPaul Barker2019-05-092-0/+53
| | | | | | | (From OE-Core rev: f178990495c773b4b36b1be6aafc2da158b76894) Signed-off-by: Paul Barker <paul@betafive.co.uk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb: fix CVE-2017-9778Anuj Mittal2019-04-302-0/+100
| | | | | | | (From OE-Core rev: d8faa8974d08651dac42afa7a7e545a4c30d813e) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-ust: lttng-ust works fine on musl no need to remove itJonathan Rajotte2019-04-051-1/+0
| | | | | | | (From OE-Core rev: 1eaf5f374dc1e9e5be83ecb4f31b86acea850486) Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb: Do not disable lttng-ust on risc-vKhem Raj2019-03-191-1/+0
| | | | | | | | (From OE-Core rev: 563de8e3a07942beb60c72eb1a8072be9035a0a7) Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Jonathan Rajotte-Julien <jonathan.rajotte-julien@efficios.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb: Upgrade 8.2 -> 8.2.1Adrian Bunk2019-03-074-2/+2
| | | | | | | (From OE-Core rev: 7158b68335450c601a660cbae3ec2ecc26754a84) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb: Backport a fix to build with gcc9Khem Raj2018-12-272-0/+51
| | | | | | | (From OE-Core rev: 389d956bdacee92125c0112a58991516b866a39b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Drop virtual/libc-for-gccRichard Purdie2018-12-261-1/+1
| | | | | | | | | We no longer have special "libc" for gcc so we can rely on plain virtual/libc and reduce the complexity in the dependencies. (From OE-Core rev: 122217b421f749b5fef52bea44ad6e04bc8f8d3a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb: Remove long ago upstreamed patchAlexey Brodkin2018-12-052-30/+0
| | | | | | | | | | | This fix was upstreamed a long ago, see [1]. [1] https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commit;h=37ce4055fe907b9edd25498dcda7a133dbd19784 (From OE-Core rev: 873507c0cbbf1f7ef22d1cb9dcb0e2b167460490) Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* arc: Disable LTTngAlexey Brodkin2018-11-231-0/+1
| | | | | | | | | | LTTng depends on liburcu which is not yet ported to ARC so disable LTTng on ARC for now. (From OE-Core rev: 701e63154c727522704aee6e890dd7d2b5615c6d) Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb: fix patch headersRoss Burton2018-10-081-11/+11
| | | | | | | (From OE-Core rev: cf634b35e866daacb427ab4c10d5adadaac3718b) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb: gdbserver: update ctrl-c handlingZhixiong Chi2018-09-202-0/+27
| | | | | | | | | | | | | | | | | | | | | A) gdbserver sends SIGINT not to the process, but to the process group (-signal_pid). But the attached process is not always a process group leader. If not, "kill (-signal_pid, SIGINT)" returns error and fails to interrupt the attached process. We cannot interrupt the process attached with gdbserver who is not a process group leader. This problem was created by the gdb upstream commit 78708b7c8c The commit fixed the following case B) bug. B) We cannot interrupt the process attached with gdbserver whose main thread exits (pthread_exit()). Now this patch can solve both A) and B). (From OE-Core rev: 435f671981a090bd06e8f3bf3436d58d531afd49) Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb: PACKAGECONFIG for tuiTrevor Woerner2018-09-111-1/+3
| | | | | | | | | | Allow the tui (Terminal User Interface) option to be set via a PACKAGECONFIG. (From OE-Core rev: b4dd830e3407e1ebfbb13387fa359e356fd12ab9) Signed-off-by: Trevor Woerner <trevor@toganlabs.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb: Add bison-native dependencyAlistair Francis2018-09-111-1/+1
| | | | | | | | | | This fixes RISC-V GDB cross compile configure failure on missing bison. (From OE-Core rev: 199fcc1a30b3e88dfc627cbc05310a645ccd4bf9) Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb: Update to 8.2Khem Raj2018-09-1016-190/+137
| | | | | | | | | | * https://sourceware.org/ml/gdb-announce/2018/msg00003.html * Support RISC-V (From OE-Core rev: 1d9d117e8eee2d3b9802384cb93155aea487f002) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>