Config.in.host 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. comment "Host GDB Options"
  2. config BR2_PACKAGE_HOST_GDB
  3. bool "Build cross gdb for the host"
  4. # When the external toolchain gdbserver is used, we shouldn't
  5. # allow to build a cross-gdb, as the one of the external
  6. # toolchain should be used.
  7. depends on !BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY
  8. depends on !BR2_nios2
  9. help
  10. Build a cross gdb that runs on the host machine and debugs
  11. programs running on the target. It requires 'gdbserver'
  12. installed on the target, see BR2_PACKAGE_GDB_SERVER to
  13. enable it.
  14. if BR2_PACKAGE_HOST_GDB
  15. config BR2_PACKAGE_HOST_GDB_TUI
  16. bool "TUI support"
  17. help
  18. This option enables terminal user interface (TUI) for gdb
  19. config BR2_PACKAGE_HOST_GDB_PYTHON
  20. bool "Python support"
  21. help
  22. This option enables the Python support in the cross gdb.
  23. config BR2_PACKAGE_HOST_GDB_SIM
  24. bool "Simulator support"
  25. depends on !BR2_arc
  26. help
  27. This option enables the simulator support in the cross gdb.
  28. choice
  29. prompt "GDB debugger Version"
  30. depends on !BR2_arc
  31. depends on !BR2_microblaze
  32. default BR2_GDB_VERSION_7_10
  33. help
  34. Select the version of gdb you wish to use.
  35. config BR2_GDB_VERSION_7_9
  36. bool "gdb 7.9.x"
  37. config BR2_GDB_VERSION_7_10
  38. bool "gdb 7.10.x"
  39. config BR2_GDB_VERSION_7_11
  40. bool "gdb 7.11.x"
  41. endchoice
  42. endif
  43. # If cross-gdb is not enabled, the latest working version is chosen.
  44. config BR2_GDB_VERSION
  45. string
  46. depends on BR2_PACKAGE_GDB || BR2_PACKAGE_HOST_GDB
  47. default "arc-2016.03-gdb" if BR2_arc
  48. default "6be65fb56ea6694a9260733a536a023a1e2d4d57" if BR2_microblaze
  49. default "7.9.1" if BR2_GDB_VERSION_7_9
  50. default "7.10.1" if BR2_GDB_VERSION_7_10 || !BR2_PACKAGE_HOST_GDB
  51. default "7.11.1" if BR2_GDB_VERSION_7_11