6b0ca9bf74964702119068811cd9de877df14ebc
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / gdb / Config.in.host
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_aarch64 && !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.
13
14 if BR2_PACKAGE_HOST_GDB
15
16 config BR2_PACKAGE_HOST_GDB_TUI
17         bool "TUI support"
18         help
19           This option enables terminal user interface (TUI) for gdb
20
21 config BR2_PACKAGE_HOST_GDB_PYTHON
22         bool "Python support"
23         help
24           This option enables the Python support in the cross gdb.
25
26 choice
27         prompt "GDB debugger Version"
28         depends on !BR2_arc
29         depends on !BR2_microblaze
30         default BR2_GDB_VERSION_7_8
31         help
32           Select the version of gdb you wish to use.
33
34         config BR2_GDB_VERSION_7_7
35                 bool "gdb 7.7.x"
36                 depends on BR2_DEPRECATED_SINCE_2015_05
37
38         config BR2_GDB_VERSION_7_8
39                 bool "gdb 7.8.x"
40
41         config BR2_GDB_VERSION_7_9
42                 bool "gdb 7.9.x"
43
44 endchoice
45
46 endif
47
48 # If cross-gdb is not enabled, the latest working version is chosen.
49 config BR2_GDB_VERSION
50         string
51         depends on BR2_PACKAGE_GDB || BR2_PACKAGE_HOST_GDB
52         default "arc-2014.12-gdb" if BR2_arc
53         default "6be65fb56ea6694a9260733a536a023a1e2d4d57" if BR2_microblaze
54         default "7.7.1"    if BR2_GDB_VERSION_7_7
55         default "7.8.2"    if BR2_GDB_VERSION_7_8 || !BR2_PACKAGE_HOST_GDB
56         default "7.9"      if BR2_GDB_VERSION_7_9