package/vlc: backport upstream patches to fix compat function for static_assert
[buildroot-gz.git] / package / gdb / Config.in.host
blob081073b9a766f391c4e6b9c5395dcfc5f9bcea57
1 config BR2_PACKAGE_HOST_GDB
2         bool "Build cross gdb for the host"
3         # When the external toolchain gdbserver is used, we shouldn't
4         # allow to build a cross-gdb, as the one of the external
5         # toolchain should be used.
6         depends on !BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY
7         depends on !BR2_nios2
8         help
9           Build a cross gdb that runs on the host machine and debugs
10           programs running on the target. It requires 'gdbserver'
11           installed on the target, see BR2_PACKAGE_GDB_SERVER to
12           enable it.
14 if BR2_PACKAGE_HOST_GDB
16 config BR2_PACKAGE_HOST_GDB_TUI
17         bool "TUI support"
18         help
19           This option enables terminal user interface (TUI) for gdb
21 config BR2_PACKAGE_HOST_GDB_PYTHON
22         bool "Python support"
23         help
24           This option enables the Python support in the cross gdb.
26 config BR2_PACKAGE_HOST_GDB_SIM
27         bool "Simulator support"
28         depends on !BR2_arc
29         help
30           This option enables the simulator support in the cross gdb.
32 choice
33         prompt "GDB debugger Version"
34         depends on !BR2_arc
35         depends on !BR2_microblaze
36         default BR2_GDB_VERSION_7_10
37         help
38           Select the version of gdb you wish to use.
40         config BR2_GDB_VERSION_7_9
41                 bool "gdb 7.9.x"
43         config BR2_GDB_VERSION_7_10
44                 bool "gdb 7.10.x"
46         config BR2_GDB_VERSION_7_11
47                 bool "gdb 7.11.x"
49 endchoice
51 endif
53 # If cross-gdb is not enabled, the latest working version is chosen.
54 config BR2_GDB_VERSION
55         string
56         depends on BR2_PACKAGE_GDB || BR2_PACKAGE_HOST_GDB
57         default "arc-2016.03-gdb" if BR2_arc
58         default "6be65fb56ea6694a9260733a536a023a1e2d4d57" if BR2_microblaze
59         default "7.9.1"    if BR2_GDB_VERSION_7_9
60         default "7.10.1"   if BR2_GDB_VERSION_7_10 || !BR2_PACKAGE_HOST_GDB
61         default "7.11.1"   if BR2_GDB_VERSION_7_11