aboutsummaryrefslogtreecommitdiff
path: root/config/debug
Commit message (Collapse)AuthorAgeFilesLines
* ltrace: Add !BARE_METAL dependencyChris Packham2025-01-051-0/+1
| | | | | | | | Ltrace requires an OS. Add a depend to prevent ltrace from being selected when building for bare metal. Fixes #1555, #2240 Signed-off-by: Chris Packham <judge.packham@gmail.com>
* gdb: Add gdb 15.1Chris Packham2024-07-241-0/+2
| | | | | | | | | | | | | https://sourceware.org/pipermail/gdb-announce/2024/000140.html The release notes state that "Building GDB and GDBserver now requires a C++17 compiler (for instance, GCC 9 or later)". Looks like we already satisfy this requirement with GDB_DEP_NO_STD_FUTURE. gdbserver now has a dependency on iconv.h, for uclibc configurations we need to make sure this is satisfied. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* gdb: Use correct arguments for static linkingChris Packham2023-11-021-0/+5
| | | | | | | | | | | | As of version 13.x GDB uses libtool for linking instead of g++ these take different arguments for static linking. Commit 6146b5a6 ("use -all-static when building a static gdb") attempted to deal with this but had the effect of causing older GDB versions to fail to build statically. Add a new internal flag GDB_CC_LD_LIBTOOL and use this to decide whether to pass `-static` or `-all-static`. Fixes #2053 Signed-off-by: Chris Packham <judge.packham@gmail.com>
* gdb: Make native GDB 13+ dependent on MPFRYuriy Kolerov2023-05-191-0/+1
| | | | | | GDB 13+ depends on MPFR thus it must be selected. Signed-off-by: Yuriy Kolerov <ykolerov@synopsys.com>
* gdb: drop obsolete versionsChris Packham2022-05-102-23/+3
| | | | | | | Drop gdb 7.11.1, 7.12.1, 8.0.1, 8.1.1 and 8.2.1. Cleanup milestones related to these older versions. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* Remove obsolete bionic/android supportChris Packham2022-05-104-5/+0
| | | | | | | | The bionic libc support was out of date and relied on downloading binaries from the internet. It was already marked as obsolete. Now that the 1.25.0 release is out it can be completely removed. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* gdb: use single-number versions/milestones for 9+Alexey Neyman2022-02-112-3/+3
| | | | | | | | Starting with GDB9, the release number is only two numbers (with the last being patchlevel). Therefore, keep two numbers for releases 8 and below, but just a single number for 9 and up. Signed-off-by: Alexey Neyman <stilor@att.net>
* sparc-leon: restrict to GDB9Alexey Neyman2022-02-111-0/+7
| | | | | | | | | | Starting with GDB10, it requires support for std::future<> in the compiler. Such support has not been available on some architectures until GCC9 (see PR 64735). I haven't determined the exact list of affected architectures, so decided to make it a broad dependency: for GDB10+, you need GCC9+. Signed-off-by: Alexey Neyman <stilor@att.net>
* Retire obsoleted milestonesAlexey Neyman2022-02-112-11/+4
| | | | | | | | | | | | ... and the code dependent on them, after the latest wave of obsolete package removals. This concludes the glorious history of the original uClibc (non-NG) with lots of kludges removed. There was a choice here, whether to call the resulting libc "uClibc" or "uClibc-ng". I opted in favor of giving uClibc-ng the recognition it deserves, although it had some ripple effect in the ct-ng code. Signed-off-by: Alexey Neyman <stilor@att.net>
* gdb: Remove old milestonesChris Packham2021-09-213-17/+1
| | | | | | | Now that the oldest supported version of gdb is 7.11.1 we can make some parts of the build unconditional and remove the associated config vars. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* gdb: Add gdb-11.1Chris Packham2021-09-191-0/+1
| | | | | | | Drop the uclibc-no-gettimeofday-clobber patch as it no longer applies. The arc patches are all upstream. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* gdb: Add gdb-10.2Alexey Brodkin2021-08-251-0/+6
| | | | | | | | | | | | | | | | | In GDB 10.x gdbserver was promoted to the top-level folder, see https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=919adfe8409211c726c1d05b47ca59890ee648f1 Which means it is no longer a subfolder in "gdb" and so we have to build gdbserver now exactly in the same way as normal native GDB. One interesting detail is gdbserver doesn't need to deal with target description in .xml so it doesn't depend on libexpat on target, thus we need to move libexpat explicit selection from do_gdb_backend() to its callers when building native [full] gdb as well as cross-gdb for the host. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> [cp: support old/new layout, regenerate patches] Signed-off-by: Chris Packham <judge.packham@gmail.com>
* GDB 8.3+ needs IPv6Alexey Neyman2019-10-021-1/+3
| | | | | | ... which wasn't enabled in uClibc-ng by default Signed-off-by: Alexey Neyman <stilor@att.net>
* Require WCHAR in uClibc for all GDB versionsAlexey Neyman2019-04-041-1/+1
| | | | | | | if building natively. 7.12.1 and 7.11.1 are also breaking in absence of <wctype.h> Signed-off-by: Alexey Neyman <stilor@att.net>
* Only build libinproctrace for *-linux-gnu targetsAlexey Neyman2019-03-201-1/+3
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Allow older GDB to build against newer glibcAlexey Neyman2019-03-111-2/+5
| | | | | | | Also, fix the subdir used when only gdbserver is built (without native GDB). Signed-off-by: Alexey Neyman <stilor@att.net>
* Move GDB build into a common backend functionAlexey Neyman2019-03-093-76/+48
| | | | | | | ... needed to create a common runtime test for an incompatible change in glibc API. Signed-off-by: Alexey Neyman <stilor@att.net>
* CentOS6 cannot use newer GDB releasesAlexey Neyman2019-03-051-0/+8
| | | | | | | | | ... unless one retrofits it with a decent compiler instead of stock GCC 4.4. While here, sync up the ax_*.m4 with autoconf-archive. Signed-off-by: Alexey Neyman <stilor@att.net>
* Restore a missing GDB optionAlexey Neyman2018-05-062-1/+7
| | | | | | (whether GDB has --disable-build-with-cxx) and use it. Signed-off-by: Alexey Neyman <stilor@att.net>
* Make comp.libs use generated templates, tooAlexey Neyman2017-11-294-8/+0
| | | | | | | | This allows us to include the component-to-package relation in the generated kconfig files and make use of that information in the show-config.sh script. Signed-off-by: Alexey Neyman <stilor@att.net>
* Also upgrade non-generated config filesAlexey Neyman2017-07-085-6/+6
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Switch comp.libs/tools and debug to new framework.Alexey Neyman2017-07-084-447/+10
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Add option to build gdbserver for target that does not require libstdc++.soNye Liu2017-06-161-0/+9
|
* Force wide char support in uClibc if GDB8 is enabledAlexey Neyman2017-06-082-0/+2
| | | | | | | | | GDB8 (or rather gnulib that is a part of it) provides a fallback mbstate_t definition - but GCC's C++ headers (which are used via stdint.h since GDB8 uses C++) provide another mbstate_t if libc does not have wide char support. These two definitions conflict with each other. Signed-off-by: Alexey Neyman <stilor@att.net>
* Add GDB 8.0 ...Alexey Neyman2017-06-042-1/+18
| | | | | | ... which now requires C++. Signed-off-by: Alexey Neyman <stilor@att.net>
* Disallow duma/ltrace/strace for bionicAlexey Neyman2017-05-144-0/+5
| | | | | | | | | | | | Allow cross-gdb and gdbserver. This requires removal of an explicit check that disables gdbserver on android. However, the comment above that check refers to exec_elf.h, which has been removed since API level 19. It builds fine with current selection of the sample (21). Only build-tested, hope someone can give it a try and report back. We can fine tune the check for GDB but I'll leave it for now. Signed-off-by: Alexey Neyman <stilor@att.net>
* Retire BACKEND stuffAlexey Neyman2017-04-234-6/+0
| | | | | | | ... it is possible to just not set it in the configuration, why force it? It just increases the complexity in Kconfig. Signed-off-by: Alexey Neyman <stilor@att.net>
* Handle Python with non-default namesAlexey Neyman2017-04-011-0/+16
| | | | | | | | Check for python2/python3 and if found, pass them to --with-python. Allow user to override the choice via a new config option. This fixes systems where there is no "python", only "python2" or "python3". Signed-off-by: Alexey Neyman <stilor@att.net>
* cross-gdb: account for canadian/crossnative toolchainsAlexey Neyman2017-03-291-4/+4
| | | | | | | | | | ... when determining if it can be linked statically, and if Python scripting should default to y. Prompted by a failure of i686-w64-mingw32,nios2-spico-elf sample on a system where configure didn't report static linking support. Signed-off-by: Alexey Neyman <stilor@att.net>
* Mark static gdb/gdbserver EXPERIMENTALAlexey Neyman2017-03-152-3/+33
| | | | | | ... and default to 'n'. Signed-off-by: Alexey Neyman <stilor@att.net>
* Require xz to be presentAlexey Neyman2017-02-271-11/+0
| | | | | | | | Some software starts to adopt xz-only distribution (strace, gcc-linaro, ...). Better that than deal with cryptic errors like "cannot find strace-.tar.bz2". Signed-off-by: Alexey Neyman <stilor@att.net>
* Upgrade GDB 7.11 -> 7.11.1Alexey Neyman2017-02-191-3/+3
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Upgrade GDB 7.12 -> 7.12.1Alexey Neyman2017-02-191-3/+3
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Add strace 4.16Alexey Neyman2017-02-161-0/+6
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Supply --disable-build-with-cxx instead of requiring C++Alexey Neyman2017-02-092-2/+1
| | | | | | | ... when building native GDB/gdbserver. Suggested by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Alexey Neyman <stilor@att.net>
* Require C++ support for gdbserver 7.12 or newer.Alexey Neyman2017-02-022-1/+1
| | | | | | | Also, do not select gdbserver for cross-gdb automatically, or it may be selected even without meeting the dependencies (if C++ is not enabled) Signed-off-by: Alexey Neyman <stilor@att.net>
* Use 'make install' to install DUMAAlexey Neyman2017-01-301-5/+6
| | | | | | | | | | | | | | This serves two purposes: - installs its manpage - installs headers, without them it does not make sense to install a static library Unfortunately, there's no way to select shared-only build of DUMA. Hence, disable selection for static library. Also, allow user to select whether to use stock or ct-ng's wrapper. Signed-off-by: Alexey Neyman <stilor@att.net>
* Fix handling of ltrace 0.5.3 peculiarity.Alexey Neyman2017-01-261-9/+5
| | | | | | Also, remove 0.5.2 selection - no longer available for download. Signed-off-by: Alexey Neyman <stilor@att.net>
* Declare older versions obsolete.Alexey Neyman2017-01-263-30/+35
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Add versions 4.11..4.15 of strace.Alexey Neyman2017-01-161-8/+49
| | | | | | | Versions 4.13 and older marked as obsolete. Identify the source of the patches 007..009. Signed-off-by: Alexey Neyman <stilor@att.net>
* Declare GDB 7.9 and older obsolete.Alexey Neyman2017-01-131-0/+26
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* GDB 7.12 needs c++.Alexey Neyman2017-01-132-7/+7
| | | | | | Also, minor fixes in 300-gdb.sh Signed-off-by: Alexey Neyman <stilor@att.net>
* Add gdb 7.12.Alexey Neyman2017-01-131-0/+6
| | | | | | | | Same patches apply; changed 101-uclibc-no-gettimeofday-clobber.patch - modify configure.ac and regenerate configure (rather than modifying the latter directly). Signed-off-by: Alexey Neyman <stilor@att.net>
* Add/update/remove Linaro versions.Alexey Neyman2017-01-121-9/+16
| | | | | | | | | | Linaro GDB 7.2 no longer available from Linaro's website; removed. Linaro GDB 7.5 had incorrect version (the tarball on linaro.org does not have a -1 patch level). Add/update latest versions on each (otherwise supported) branches of GCC, GDB, binutils, glibc. Signed-off-by: Alexey Neyman <stilor@att.net>
* Kill dmalloc.Alexey Neyman2016-12-161-25/+0
| | | | | | | | | | - No new releases in almost 10 year. - No public bug tracker or VCS. - No responses from maintainer over sent patches. RIP, dmalloc. Signed-off-by: Alexey Neyman <stilor@att.net>
* Disallow dmalloc for bare metal.Alexey Neyman2016-11-292-0/+2
| | | | | | | | | | In case of bare metal, newlib is built without any syscalls, and dmalloc fails to link with undefined references to _exit, fstat, open, sbrk and so on. Same for DUMA: depends on <memory.h>, not available with newlib. Signed-off-by: Alexey Neyman <stilor@att.net>
* duma: add SHARED_LIBS dependency for DUMA shared library optionkozyilmaz2016-09-071-1/+2
|
* Spelling fixes.Alexey Neyman2016-08-231-1/+1
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* config: Add static link check to static optionsBryan Hundven2016-02-263-0/+3
| | | | | | If we can't static link with gcc, then don't allow static linking. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* gdb: Add support for v7.11, port patches from v7.10.1 that applyJoachim Nilsson2016-02-241-0/+6
| | | | Signed-off-by: Joachim Nilsson <troglobit@gmail.com>