summaryrefslogtreecommitdiff
path: root/tools/gdb
AgeCommit message (Collapse)Author
2023-05-08Set ac_cv_func_sigprocmask=yes as the symbol renaming confuses theskrll
configure script on architectures that don't provide a compatibilty symbol, e.g. RISC-V
2020-12-05Don't bother with gdbserver for archs that don't build it.christos
2020-10-09Correct target directory; src/external/gpl3/gdb.old not gdb.rin
2020-10-09Nowadays, mknative-gdb puts files into external/gpl3/gdb/lib,rin
instead of external/gpl3/gdb/bin/gdb. Also, we need to nbmake-MACHINE in external/gpl3/gdb in order to build dependent libraries correctly.
2020-09-24grab the gdbserver versionchristos
2020-09-23Add gdbserverchristos
2020-09-17put gnulib stuff under gnulib/ because things import "gnulib/config.h"christos
2020-09-17remove obsoletechristos
2020-09-17refinechristos
2020-09-17Save the mknative-gdb for 8.3 and prepare the mknative-gdb for 10.xchristos
2019-06-21Update to working instructions.maya
thx mrg for the build_install suggestion.
2019-06-02force libexpat since the autoconfig test are not cross-compile friendlychristos
(they try to link with /usr/lib/libexpat.so in the compiler invocation).
2019-06-01Disable mpfr to make MKCROSSGDB work again. The problem is that the defaultchristos
(auto) finds the mpfr library in tools, but then when it tries to build using the proper headers it does not find it anymore since we don't install it (like the native build does not find it).
2019-05-29adjust for gdb-8.3christos
2018-05-01Create a new bsd.hostinit.mk file and put the build definitions for all hostchristos
programs there; make all Makefiles that use bsd.hostprog.mk include it. Namely turn off MKREPRO and don't make lint, man pages, info files etc. Remove the Makefile.inc files that contained these same settings, and remove the settings from Makefile.host
2018-05-01PR/53238: Robert Elz: Disable MKREPRO in tools; the host compiler mightchristos
not support the necessary options. This is done thusly: 1. Set MKREPRO=no in Makefile.host. This handles all the Makefiles that use it and don't include bsd.own.mk. 2. Create Makefile.inc and set MKREPRO=no in it. Change the Makefiles that include bsd.own.mk, to include bsd.init.mk which includes Makefile.inc first. This will also allow us to control other tools options from a single location if we need to. XXX: pullup-8
2017-11-29we want no-iconv for the tools build, but we want iconv for mknative.christos
2017-11-29Changes for gdb-8.0.1christos
2017-11-28Adjust to gdb-8.0.1 which uses c++christos
XXX: quoting of variables that contain paths and versions is broken.
2017-07-01--disable-nls does not work in gdb subdir, so add am_cv_func_iconv=no tojmcneill
configure env. Fixes build on FreeBSD.
2016-10-16pass GDB_MACHINE_ARCH to mknative-gdb and use that as the subdir.mrg
obtain GDB_MACHINE_ARCH from the new gdb Makefile.gdb_arch.
2016-10-14Fix the host build of aarch64 with clangchristos
2016-10-12Define __STDC_{LIMIT,CONSTANT,FORMAT}_MACROS in CXXFLAGS.christos
The problem is that the gnulib interception of <stdint.h> and <inttypes.h> does not really work because we implement those internally with <sys/inttypes.h> and <sys/stdint.h> and those internal headers are used by other internal headers *before* they get a chance to be intercepted (where the __STDC_ macros are defined). Another way to fix this is to move the inclusion of the other headers in <stdint.h> and <inttypes.h> outside multiple inclusion protection.
2016-01-26use EXTERNAL_GDB_SUBDIRchristos
2015-09-17gdb.old is no more.skrll
2015-08-16add double quotes for consistencychristos
2015-08-16handle gdb-7.9.1christos
2015-08-15for now, use gdb.old.mrg
2013-10-03more files neededchristos
2012-10-01At last on some linux distros, gmake is needed to build the cross-gdb.bouyer
2012-02-09Disable the sim on mips for next person running gdb7 mknative.skrll
2011-11-06mkdir the proper sim dirs!christos
2011-10-09add psim supportchristos
2011-09-26remove pre-gcc-4.5 mknative remnants that have long ceased to function.christos
2011-09-26mknative for gdb7christos
2010-12-24Adjust LDFLAGS handling to fix curses detection for mknative-gdb.njoly
2010-05-08Fix tools build on Solaris with MKCROSSGDB=YES.hans
2009-12-23revert the previous; not intended to be part of that commit, or any commitmrg
2009-12-23rework the main SUBDIR list here as suggested by enami. put .WAIT onmrg
the same line as the target that needs to wait, but before the target, rather than on the previous line, which led to confusion and an error being introduced in the previous change.
2009-12-15Fix parallel build. Analyzed & patch provided by enami@, thanks!uebayasi
2009-12-14disable only parallel make.christos
2009-12-14Disable parallel build, which always fails at compiling itable.c / interp.c.uebayasi
Only affect MKCROSSGDB=yes.
2008-12-05MACHINE_CPU is "mips" not "xxmips".mrg
2007-02-19disable sim for mips until someone adds the rest of the build framework for it.chs
2006-11-25Fix the logic for --disable-sym. Hi uwe!skrll
Use CPPFLAG_ISYSTEM.
2006-11-24Disable sim for mknative unless it's known to work (configure'suwe
default is to enable sim if there's support for the cpu). The current list of "known to work" contains arches with G_SIM_OBS already set: powerpc, powerpc64 and mips. There's arm support in sim, but committed configs for arm do not have G_SIM_OBS set, so I'm not enabling it here. There's SH support in sim, but it fails to build out of the box, and since we didn't build SH sim support for gdb 5.3, we keep it disabled. Other arches shouldn't be affected, as there's no support for them in sim.
2006-11-24Pass preset configure "cache" vars in the environment not only to theuwe
top-level configure, but to ${MAKE} configure-host as well. Add more vars (for readline mostly) so that there's no configure warnings about tests skipped b/c of cross-compilation.
2006-11-23Note that nbmake-MACHINE native-gdb writes files under src, so thisuwe
step needs to be done in a writable src tree.
2006-11-23Wrap overlong line to fit.uwe
2006-11-23Use -isystem to add ${DESTDIR}/usr/include to the search path.uwe
gdb comes with its own copy of GNU readline 5.x, but -I${DESTDIR}/usr/include stuffed at the beginning of the command line makes it find our compat readline/readline.h (emulating readline 2.x) that conflicts with the readline 5.x includes. Makes README.mknative instructions actually work instead of failing midway b/c of conflicting tilde_expand() prototypes.