summaryrefslogtreecommitdiff
path: root/config/debug/gdb.in.cross
AgeCommit message (Collapse)AuthorFilesLines
2021-09-21gdb: Remove old milestonesChris Packham1-1/+0
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>
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-02-03Require C++ support for gdbserver 7.12 or newer.Alexey Neyman1-1/+0
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>
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 Hundven1-0/+1
If we can't static link with gcc, then don't allow static linking. 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.
2014-08-26debug/gdb: add GDB_HAS_PYTHONBryan Hundven1-0/+1
Add a Kconfig boolean to enable python, only if GDB_7_0_or_later. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2012-12-26all: unmark experimental featuresYann E. MORIN"1-1/+0
It's been some time now we've had those features, so unmark them being experimental. It does not mean everything is perfect, but may gather some more testing of those features. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2011-11-18debug/gdb: --disable-sim for CT_GDB_CROSS.Yann E. MORIN"1-0/+9
sim was already disabled for CT_GDB_NATIVE. Reviewed-by: Michael Hope Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org> [yann.morin.1998@anciens.enib.fr: make it a config option] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-11-23debug/gdb: add extra config for gdb cross.Yann E. MORIN"1-1/+8
Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org> [yann.morin.1998@anciens.enib.fr: prompt rewording, as suggested by M. Hope] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-10-14scripts: check host features with host compilerYann E. MORIN"1-11/+1
Currently, we check host feature in ./configure. This works only for cross toolchains, but not for canadian toolchains. ./configure has absolutely no way to know what the host for the toolchain will be; only the build scripts know. So, move the headers & libraries checks from ./configure to the build scripts, early enough in the build, but not before we know the host compiler and other tools. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-10-08debug/gdb: new option to enable/disable use of pythonYann E. MORIN"1-0/+16
Add a new option to enable/disable the Python scripting in gdb. Hide the option (ie. disable it) when statically linking the cross-gdb. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-06-27configure: disable static linking on DarwinYann E. MORIN"1-0/+1
Static liunking is not supported on Darwin, so hide the corresponding options when the build machine is Darwin. Reported-by: Andrea Franceschini <therealmorpheu5@gmail.com> Reported-by: Bryan Hundven <bryanhundven@gmail.com> Reported-by: "Titus von Boxberg" <titus@v9g.de> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-06-08debug/cross-gdb: check host dependenciesYann E. MORIN"1-0/+9
Cross-gdb depends on expat and python. If either is missing, cross-gdb will build successfully, but lacking some features. Especially, if expat is missing, cross-gdb will be unable to parse the target description, which may lead to runtime malfunctions and the following GDB warning: "Can not parse XML target description; XML support was disabled at compile time" Hence, expat should be considered mandatory. On the other hand, the features missing without python are not critical, so python should not be considered mandatory. This patch does the following: - At configure time, warn the user if either expat or python is missing. - In menuconfig, disable the static build options regarding cross-gdb if no static version of expat is available, and disable cross-gdb if expat is missing. Signed-off-by: "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com> [yann.morin.1998@anciens.enib.fr: add comment for impossible static cross-gdb] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-05-31kconfig: remove useless 'default n'Benoît THÉBAUDEAU"1-1/+0
kconfig bools are disabled by default, so specifying 'default n' is useless and noisy. This patch removes all occurrences of 'default n'. Signed-off-by: "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
2010-12-09debug/gdb: global static forces static cross-gdbBryan Hundven"1-0/+3
If the global static option is set, then build host binutils statically. Signed-off-by: "Bryan Hundven" <bryanhundven@gmail.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-08-23debug/gdb: companion libs are not usedYann E. MORIN"1-22/+0
Although the gdb ./configure advertises for GMP and MPFR, those libraries are not used by gdb (the ./configure is used across different packages, hence the check for GMP/MPFR). See: http://sourceware.org/ml/crossgcc/2010-08/msg00168.html The same applies to MPC. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-04-15debug/gdb: remove insightYann E. MORIN"1-11/+0
Insight seems to be very slow to follow up on mainstreram gdb. Latest snapshots are more than 6 months old. Moreover, I don't have time to maintain insight support in crosstool-NG; and, because I don't use it, I am unable to find any breakage.
2010-04-15debug/gdb: reorder options in the menuconfigYann E. MORIN"1-11/+11
2010-04-15debug/gdb: allow static build with complibsYann E. MORIN"1-7/+0
It is now possible to built static versions of the companion libraries, so we can now build a static cross-gdb using the complibs.
2010-03-15debug/gdb: gdb>=7.0 can use MPC, enable for cross-gdbYann E. MORIN"1-0/+12
2010-03-15debug/gdb: add option to use GMP and MPFRYann E. MORIN"1-0/+17
GMP and MPFR are optional for gdb, so offer a config option.
2010-03-15debug/gdb: split menuconfig for easier maintenanceYann E. MORIN"1-0/+35