path: root/config/debug
AgeCommit message (Collapse)AuthorFilesLines
2022-02-11gdb: use single-number versions/milestones for 9+Alexey Neyman2-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 <>
2022-02-11sparc-leon: restrict to GDB9Alexey Neyman1-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 <>
2022-02-11Retire obsoleted milestonesAlexey Neyman2-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 <>
2021-09-21gdb: Remove old milestonesChris Packham3-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 <>
2021-09-19gdb: Add gdb-11.1Chris Packham1-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 <>
2021-08-24gdb: Add gdb-10.2Alexey Brodkin1-0/+6
In GDB 10.x gdbserver was promoted to the top-level folder, see;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 <> [cp: support old/new layout, regenerate patches] Signed-off-by: Chris Packham <>
2019-10-02GDB 8.3+ needs IPv6Alexey Neyman1-1/+3
... which wasn't enabled in uClibc-ng by default Signed-off-by: Alexey Neyman <>
2019-04-05Require WCHAR in uClibc for all GDB versionsAlexey Neyman1-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 <>
2019-03-21Only build libinproctrace for *-linux-gnu targetsAlexey Neyman1-1/+3
Signed-off-by: Alexey Neyman <>
2019-03-11Allow older GDB to build against newer glibcAlexey Neyman1-2/+5
Also, fix the subdir used when only gdbserver is built (without native GDB). Signed-off-by: Alexey Neyman <>
2019-03-10Move GDB build into a common backend functionAlexey Neyman3-76/+48
... needed to create a common runtime test for an incompatible change in glibc API. Signed-off-by: Alexey Neyman <>
2019-03-05CentOS6 cannot use newer GDB releasesAlexey Neyman1-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 <>
2018-05-06Restore a missing GDB optionAlexey Neyman2-1/+7
(whether GDB has --disable-build-with-cxx) and use it. Signed-off-by: Alexey Neyman <>
2017-11-30Make comp.libs use generated templates, tooAlexey Neyman4-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 script. Signed-off-by: Alexey Neyman <>
2017-07-08Also upgrade non-generated config filesAlexey Neyman5-6/+6
Signed-off-by: Alexey Neyman <>
2017-07-08Switch comp.libs/tools and debug to new framework.Alexey Neyman4-447/+10
Signed-off-by: Alexey Neyman <>
2017-06-17Add option to build gdbserver for target that does not require libstdc++.soNye Liu1-0/+9
2017-06-08Force wide char support in uClibc if GDB8 is enabledAlexey Neyman2-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 <>
2017-06-05Add GDB 8.0 ...Alexey Neyman2-1/+18
... which now requires C++. Signed-off-by: Alexey Neyman <>
2017-05-15Disallow duma/ltrace/strace for bionicAlexey Neyman4-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 <>
2017-04-23Retire BACKEND stuffAlexey Neyman4-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 <>
2017-04-02Handle Python with non-default namesAlexey Neyman1-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 <>
2017-03-30cross-gdb: account for canadian/crossnative toolchainsAlexey Neyman1-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 <>
2017-03-16Mark static gdb/gdbserver EXPERIMENTALAlexey Neyman2-3/+33
... and default to 'n'. Signed-off-by: Alexey Neyman <>
2017-02-28Require xz to be presentAlexey Neyman1-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 <>
2017-02-19Upgrade GDB 7.11 -> 7.11.1Alexey Neyman1-3/+3
Signed-off-by: Alexey Neyman <>
2017-02-19Upgrade GDB 7.12 -> 7.12.1Alexey Neyman1-3/+3
Signed-off-by: Alexey Neyman <>
2017-02-16Add strace 4.16Alexey Neyman1-0/+6
Signed-off-by: Alexey Neyman <>
2017-02-10Supply --disable-build-with-cxx instead of requiring C++Alexey Neyman2-2/+1
... when building native GDB/gdbserver. Suggested by: Thomas Petazzoni <> Signed-off-by: Alexey Neyman <>
2017-02-03Require C++ support for gdbserver 7.12 or newer.Alexey Neyman2-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 <>
2017-01-30Use 'make install' to install DUMAAlexey Neyman1-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 <>
2017-01-26Fix handling of ltrace 0.5.3 peculiarity.Alexey Neyman1-9/+5
Also, remove 0.5.2 selection - no longer available for download. Signed-off-by: Alexey Neyman <>
2017-01-26Declare older versions obsolete.Alexey Neyman3-30/+35
Signed-off-by: Alexey Neyman <>
2017-01-16Add versions 4.11..4.15 of strace.Alexey Neyman1-8/+49
Versions 4.13 and older marked as obsolete. Identify the source of the patches 007..009. Signed-off-by: Alexey Neyman <>
2017-01-14Declare GDB 7.9 and older obsolete.Alexey Neyman1-0/+26
Signed-off-by: Alexey Neyman <>
2017-01-14GDB 7.12 needs c++.Alexey Neyman2-7/+7
Also, minor fixes in Signed-off-by: Alexey Neyman <>
2017-01-14Add gdb 7.12.Alexey Neyman1-0/+6
Same patches apply; changed 101-uclibc-no-gettimeofday-clobber.patch - modify and regenerate configure (rather than modifying the latter directly). Signed-off-by: Alexey Neyman <>
2017-01-13Add/update/remove Linaro versions.Alexey Neyman1-9/+16
Linaro GDB 7.2 no longer available from Linaro's website; removed. Linaro GDB 7.5 had incorrect version (the tarball on 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 <>
2016-12-17Kill dmalloc.Alexey Neyman1-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 <>
2016-11-29Disallow dmalloc for bare metal.Alexey Neyman2-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 <>
2016-09-07duma: add SHARED_LIBS dependency for DUMA shared library optionkozyilmaz1-1/+2
2016-08-23Spelling fixes.Alexey Neyman1-1/+1
Signed-off-by: Alexey Neyman <>
2016-02-26config: Add static link check to static optionsBryan Hundven3-0/+3
If we can't static link with gcc, then don't allow static linking. Signed-off-by: Bryan Hundven <>
2016-02-24gdb: Add support for v7.11, port patches from v7.10.1 that applyJoachim Nilsson1-0/+6
Signed-off-by: Joachim Nilsson <>
2016-02-05gdb: Add version 7.10.1Bryan Hundven1-0/+6
It's been out for a while, just haven't gotten around to it. Signed-off-by: Bryan Hundven <>
2015-12-08config: Update kconfig for new CT_GetCustomBryan Hundven1-19/+40
This commit sort of unifies the kconfigs to handle custom files and directories. Signed-off-by: Bryan Hundven <>
2015-11-13Enable building expat/ncurses for host.Alexey Neyman1-0/+2
Then re-enable cross-gdb for nios2-spico-elf sample, previously disabled.
2015-11-13Change ncurses to a companion library.Alexey Neyman1-0/+1
Currently, builds for build and target (matching the current implementation). Need to add building for host for canadian crosses. TIC_PATH is removed - configure in ncurses searches $PATH, so it finds 'tic' in buildtools anyway. Arguably unneeded code for MacOS also removed, with a FIXME comment for validation by someone using MacOS. Signed-off-by: Alexey Neyman <>
2015-11-13Convert expat for target into a companion lib.Alexey Neyman1-0/+1
Expat-for-host to be done. Signed-off-by: Alexey Neyman <>
2015-10-06Remove CC_GDB_CUSTOM from the version choice.Jasmin Jessich1-4/+5
Signed-off-by: Jasmin Jessich <>