Config.in.host 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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. if BR2_PACKAGE_HOST_GDB
  14. config BR2_PACKAGE_HOST_GDB_TUI
  15. bool "TUI support"
  16. help
  17. This option enables terminal user interface (TUI) for gdb
  18. config BR2_PACKAGE_HOST_GDB_PYTHON
  19. bool "Python support"
  20. help
  21. This option enables the Python support in the cross gdb.
  22. choice
  23. prompt "GDB debugger Version"
  24. depends on !BR2_arc
  25. depends on !BR2_microblaze
  26. default BR2_GDB_VERSION_7_9
  27. help
  28. Select the version of gdb you wish to use.
  29. config BR2_GDB_VERSION_7_7
  30. bool "gdb 7.7.x"
  31. depends on BR2_DEPRECATED_SINCE_2015_05
  32. config BR2_GDB_VERSION_7_8
  33. bool "gdb 7.8.x"
  34. config BR2_GDB_VERSION_7_9
  35. bool "gdb 7.9.x"
  36. config BR2_GDB_VERSION_7_10
  37. bool "gdb 7.10.x"
  38. endchoice
  39. endif
  40. # If cross-gdb is not enabled, the latest working version is chosen.
  41. config BR2_GDB_VERSION
  42. string
  43. depends on BR2_PACKAGE_GDB || BR2_PACKAGE_HOST_GDB
  44. default "arc-2015.06-gdb" if BR2_arc
  45. default "6be65fb56ea6694a9260733a536a023a1e2d4d57" if BR2_microblaze
  46. default "7.7.1" if BR2_GDB_VERSION_7_7
  47. default "7.8.2" if BR2_GDB_VERSION_7_8
  48. default "7.9.1" if BR2_GDB_VERSION_7_9 || !BR2_PACKAGE_HOST_GDB
  49. default "7.10" if BR2_GDB_VERSION_7_10