summaryrefslogtreecommitdiff
path: root/config/debug
AgeCommit message (Collapse)AuthorFilesLines
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 <stilor@att.net>
2019-03-21Only build libinproctrace for *-linux-gnu targetsAlexey Neyman1-1/+3
Signed-off-by: Alexey Neyman <stilor@att.net>
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 <stilor@att.net>
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 <stilor@att.net>
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 <stilor@att.net>
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 <stilor@att.net>
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 show-config.sh script. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08Also upgrade non-generated config filesAlexey Neyman5-6/+6
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08Switch comp.libs/tools and debug to new framework.Alexey Neyman4-447/+10
Signed-off-by: Alexey Neyman <stilor@att.net>
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 <stilor@att.net>
2017-06-05Add GDB 8.0 ...Alexey Neyman2-1/+18
... which now requires C++. Signed-off-by: Alexey Neyman <stilor@att.net>
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 <stilor@att.net>
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 <stilor@att.net>
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 <stilor@att.net>
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 <stilor@att.net>
2017-03-16Mark static gdb/gdbserver EXPERIMENTALAlexey Neyman2-3/+33
... and default to 'n'. Signed-off-by: Alexey Neyman <stilor@att.net>
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 <stilor@att.net>
2017-02-19Upgrade GDB 7.11 -> 7.11.1Alexey Neyman1-3/+3
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-19Upgrade GDB 7.12 -> 7.12.1Alexey Neyman1-3/+3
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-16Add strace 4.16Alexey Neyman1-0/+6
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-10Supply --disable-build-with-cxx instead of requiring C++Alexey Neyman2-2/+1
... when building native GDB/gdbserver. Suggested by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Alexey Neyman <stilor@att.net>
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 <stilor@att.net>
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 <stilor@att.net>
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 <stilor@att.net>
2017-01-26Declare older versions obsolete.Alexey Neyman3-30/+35
Signed-off-by: Alexey Neyman <stilor@att.net>
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 <stilor@att.net>
2017-01-14Declare GDB 7.9 and older obsolete.Alexey Neyman1-0/+26
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-14GDB 7.12 needs c++.Alexey Neyman2-7/+7
Also, minor fixes in 300-gdb.sh Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-14Add gdb 7.12.Alexey Neyman1-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>
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 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>
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 <stilor@att.net>
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 <stilor@att.net>
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 <stilor@att.net>
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 <bryanhundven@gmail.com>
2016-02-24gdb: Add support for v7.11, port patches from v7.10.1 that applyJoachim Nilsson1-0/+6
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
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 <bryanhundven@gmail.com>
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 <bryanhundven@gmail.com>
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 <stilor@att.net>
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 <stilor@att.net>
2015-10-06Remove CC_GDB_CUSTOM from the version choice.Jasmin Jessich1-4/+5
Signed-off-by: Jasmin Jessich <jasmin@anw.at>
2015-09-02gdb: Add gdb-7.10Bryan Hundven1-0/+6
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-05-25Merge pull request #93 from bhundven/update_gdbBryan Hundven1-0/+6
gdb: add gdb 7.9.1
2015-05-16gdb: add gdb 7.9.1Bryan Hundven1-0/+6
As per: http://www.gnu.org/software/gdb/download/ANNOUNCEMENT ======================================================================== GDB 7.9.1 brings the following fixes and enhancements over GDB 7.9: * PR build/18033 (C++ style comment used in gdb/iq2000-tdep.c and gdb/compile/compile-*.c) * PR build/18298 ("compile" command cannot find compiler if tools configured with triplet instead of quadruplet) * PR tui/18311 (Random SEGV when displaying registers in TUI mode) * PR python/18299 (exception when registering a global pretty-printer in verbose mode) * PR python/18066 (argument "word" seems broken in Command.complete (text, word)) * PR pascal/17815 (Fix pascal behavior for class fields with * testcase) * PR python/18285 (ptype expr-with-xmethod causes SEGV) ======================================================================== Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-05-16strace: add versions 4.9 and 4.10Bryan Hundven1-0/+12
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-03-07add gdb 7.9 and 7.8.2Daniel Zimmermann1-0/+13
2015-01-16debug: gdb: Add Linaro GDB 7.8-2014.09 and Linaro GDB 7.6.1-2013.10Cristoforo Cataldo1-15/+22
This commit allows to choose, download and build latest Linaro GDB: - gdb-linaro-7.8-2014.09 - gdb-linaro-7.6.1-2013.10 Signed-off-by: Cristoforo Cataldo <cristoforo.cataldo@gmail.com>
2014-12-05debug/gdb: Add gdb-7.8.1Bryan Hundven1-0/+6
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>