crosstool-ng/scripts/build/debug
Alexey Brodkin 58c347c781 gdb: Realy decouple building of native/target GDB & gdbserver
Back in the day gdbserver was treated as a subproject of GDB and
even was located in "gdb/gdbserver" and so to build gdbserver we had
to go into "gdb/gdbserver" and there run configure. That way full GDB
was out of the picture.

Now starting from GDB 10.1 where gdbserver was promoted to the top-level
we're supposed to run top-level's configure script for all the tools
provided by the unified binutils-gdb tree.

That said if we only want to build gdbserver (and that's what we
want since we build one tool at a build step) we have to be explicit:
----------------->8----------------
--enable-gdbserver --disable--gdb
----------------->8----------------

Ah, and so far we used to build full native GDB when only wanted gdbserver
if it was GDB v10.x ;)

Ironically full native/target GDB also enabled gdbserver by default so
we need to also disable it explicitly with "--disable-gdbserver".

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
2021-09-19 19:46:49 +12:00
..
200-duma.sh Avoid adding arch/cpu/tune flags for target to GCC build 2018-06-05 00:16:37 -07:00
300-gdb.sh gdb: Realy decouple building of native/target GDB & gdbserver 2021-09-19 19:46:49 +12:00
400-ltrace.sh Avoid adding arch/cpu/tune flags for target to GCC build 2018-06-05 00:16:37 -07:00
500-strace.sh build: debug: strace: Add -D__USE_MISC to target CFLAGS 2021-03-30 12:58:47 +13:00
duma.in Revert "Determine whether -E/-r option selects extended regexp" 2017-02-26 19:06:35 -08:00
gdbinit.in debug/gdb: install gdbinit sample file 2011-07-24 20:30:52 +02:00