"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "package/gdb/Config.in.host" between
buildroot-2019.05.1.tar.bz2 and buildroot-2019.08-rc1.tar.bz2

About: Buildroot is a set of Makefiles and patches that makes it easy to generate a complete embedded Linux system. Release candidate.

Config.in.host  (buildroot-2019.05.1.tar.bz2):Config.in.host  (buildroot-2019.08-rc1.tar.bz2)
config BR2_PACKAGE_HOST_GDB_ARCH_SUPPORTS config BR2_PACKAGE_HOST_GDB_ARCH_SUPPORTS
bool bool
default y default y
# The ARC version needs C++11, thus gcc >= 4.8, like gdb-8.0.x
depends on BR2_HOST_GCC_AT_LEAST_4_8 || !BR2_arc
depends on !((BR2_arm || BR2_armeb) && BR2_BINFMT_FLAT) depends on !((BR2_arm || BR2_armeb) && BR2_BINFMT_FLAT)
depends on !BR2_microblaze depends on !BR2_microblaze
depends on !BR2_nios2 depends on !BR2_nios2
depends on !BR2_or1k depends on !BR2_or1k
depends on !BR2_riscv depends on !BR2_riscv
depends on !BR2_nds32 depends on !BR2_nds32
comment "Host GDB Options" comment "Host GDB Options"
depends on !BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY depends on !BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY
depends on BR2_PACKAGE_HOST_GDB_ARCH_SUPPORTS depends on BR2_PACKAGE_HOST_GDB_ARCH_SUPPORTS
comment "host gdb needs a host gcc >= 4.8"
depends on BR2_PACKAGE_HOST_GDB_ARCH_SUPPORTS
depends on !BR2_HOST_GCC_AT_LEAST_4_8
config BR2_PACKAGE_HOST_GDB config BR2_PACKAGE_HOST_GDB
bool "Build cross gdb for the host" bool "Build cross gdb for the host"
# gdb >= 8.x needs C++11
depends on BR2_HOST_GCC_AT_LEAST_4_8
# When the external toolchain gdbserver is used, we shouldn't # When the external toolchain gdbserver is used, we shouldn't
# allow to build a cross-gdb, as the one of the external # allow to build a cross-gdb, as the one of the external
# toolchain should be used. # toolchain should be used.
depends on !BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY depends on !BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY
depends on BR2_PACKAGE_HOST_GDB_ARCH_SUPPORTS depends on BR2_PACKAGE_HOST_GDB_ARCH_SUPPORTS
help help
Build a cross gdb that runs on the host machine and debugs Build a cross gdb that runs on the host machine and debugs
programs running on the target. It requires 'gdbserver' programs running on the target. It requires 'gdbserver'
installed on the target, see BR2_PACKAGE_GDB_SERVER to installed on the target, see BR2_PACKAGE_GDB_SERVER to
enable it. enable it.
skipping to change at line 50 skipping to change at line 54
This option enables the Python support in the cross gdb. This option enables the Python support in the cross gdb.
config BR2_PACKAGE_HOST_GDB_SIM config BR2_PACKAGE_HOST_GDB_SIM
bool "Simulator support" bool "Simulator support"
depends on !BR2_arc depends on !BR2_arc
help help
This option enables the simulator support in the cross gdb. This option enables the simulator support in the cross gdb.
choice choice
prompt "GDB debugger Version" prompt "GDB debugger Version"
default BR2_GDB_VERSION_8_1 default BR2_GDB_VERSION_8_2
depends on !BR2_arc depends on !BR2_arc
depends on !BR2_csky
help help
Select the version of gdb you wish to use. Select the version of gdb you wish to use.
config BR2_GDB_VERSION_7_12
bool "gdb 7.12.x"
config BR2_GDB_VERSION_8_0
bool "gdb 8.0.x"
# Needs a C++11 compiler
depends on BR2_HOST_GCC_AT_LEAST_4_8
config BR2_GDB_VERSION_8_1 config BR2_GDB_VERSION_8_1
bool "gdb 8.1.x" bool "gdb 8.1.x"
# Needs a C++11 compiler # Needs a C++11 compiler
depends on BR2_HOST_GCC_AT_LEAST_4_8 depends on BR2_HOST_GCC_AT_LEAST_4_8
config BR2_GDB_VERSION_8_2 config BR2_GDB_VERSION_8_2
bool "gdb 8.2.x" bool "gdb 8.2.x"
# Needs a C++11 compiler # Needs a C++11 compiler
depends on BR2_HOST_GCC_AT_LEAST_4_8 depends on BR2_HOST_GCC_AT_LEAST_4_8
config BR2_GDB_VERSION_8_3
bool "gdb 8.3.x"
# Needs a C++11 compiler
depends on BR2_HOST_GCC_AT_LEAST_4_8
endchoice endchoice
endif endif
# Tells whether the currently selected gdb version requires C++11
# support in the toolchain. When host-gdb is not enabled, the target
# gdb built is 8.0, which requires C++11 support, which is why
# BR2_PACKAGE_GDB_NEEDS_CXX11 is 'y' when BR2_PACKAGE_HOST_GDB is not
# enabled. When host-gdb is built, with the version set to 8.0 or 8.1
# then C++11 support is needed in the toolchain to build gdb for the
# target.
#
# Even though this option is related to target gdb dependencies, we
# keep it next to the BR2_GDB_VERSION so that they are kept in sync.
config BR2_PACKAGE_GDB_NEEDS_CXX11
bool
default y if !BR2_PACKAGE_HOST_GDB
default y if BR2_GDB_VERSION_8_0
default y if BR2_GDB_VERSION_8_1
default y if BR2_GDB_VERSION_8_2
default y if BR2_arc
# If cross-gdb is not enabled, the latest working version is chosen. # If cross-gdb is not enabled, the latest working version is chosen.
config BR2_GDB_VERSION config BR2_GDB_VERSION
string string
default "arc-2018.09-release-gdb" if BR2_arc default "arc-2019.03-release-gdb" if BR2_arc
default "7.12.1" if BR2_GDB_VERSION_7_12 default "4ecb98fbc2f94dbe01b69384afbc515107de73df" if BR2_csky
default "8.0.1" if BR2_GDB_VERSION_8_0 default "8.1.1" if BR2_GDB_VERSION_8_1
default "8.1.1" if BR2_GDB_VERSION_8_1 || !BR2_PACKAGE_HOST_GDB default "8.2.1" if BR2_GDB_VERSION_8_2 || !BR2_PACKAGE_HOST_GDB
default "8.2.1" if BR2_GDB_VERSION_8_2 default "8.3" if BR2_GDB_VERSION_8_3
depends on BR2_PACKAGE_GDB || BR2_PACKAGE_HOST_GDB depends on BR2_PACKAGE_GDB || BR2_PACKAGE_HOST_GDB
 End of changes. 9 change blocks. 
34 lines changed or deleted 18 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)