Config.in.host 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. config BR2_PACKAGE_HOST_GDB_ARCH_SUPPORTS
  2. bool
  3. default y
  4. depends on !((BR2_arm || BR2_armeb) && BR2_BINFMT_FLAT)
  5. depends on !BR2_microblaze
  6. depends on !BR2_nios2
  7. depends on !BR2_or1k
  8. depends on !BR2_riscv
  9. depends on !BR2_nds32
  10. comment "Host GDB Options"
  11. depends on !BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY
  12. depends on BR2_PACKAGE_HOST_GDB_ARCH_SUPPORTS
  13. config BR2_PACKAGE_HOST_GDB
  14. bool "Build cross gdb for the host"
  15. # When the external toolchain gdbserver is used, we shouldn't
  16. # allow to build a cross-gdb, as the one of the external
  17. # toolchain should be used.
  18. depends on !BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY
  19. depends on BR2_PACKAGE_HOST_GDB_ARCH_SUPPORTS
  20. help
  21. Build a cross gdb that runs on the host machine and debugs
  22. programs running on the target. It requires 'gdbserver'
  23. installed on the target, see BR2_PACKAGE_GDB_SERVER to
  24. enable it.
  25. if BR2_PACKAGE_HOST_GDB
  26. config BR2_PACKAGE_HOST_GDB_TUI
  27. bool "TUI support"
  28. help
  29. This option enables terminal user interface (TUI) for gdb
  30. choice
  31. prompt "Python support"
  32. default BR2_PACKAGE_HOST_GDB_NOPYTHON
  33. help
  34. Select the version of Python you wish to use
  35. config BR2_PACKAGE_HOST_GDB_NOPYTHON
  36. bool "None"
  37. help
  38. This option disables Python support in the cross gdb.
  39. config BR2_PACKAGE_HOST_GDB_PYTHON
  40. bool "Python 2"
  41. help
  42. This option enables the Python 2 support in the cross gdb.
  43. config BR2_PACKAGE_HOST_GDB_PYTHON3
  44. bool "Python 3"
  45. help
  46. This option enables the Python 3 support in the cross gdb.
  47. endchoice
  48. config BR2_PACKAGE_HOST_GDB_SIM
  49. bool "Simulator support"
  50. depends on !BR2_arc
  51. help
  52. This option enables the simulator support in the cross gdb.
  53. choice
  54. prompt "GDB debugger Version"
  55. default BR2_GDB_VERSION_8_3
  56. depends on !BR2_arc
  57. depends on !BR2_csky
  58. help
  59. Select the version of gdb you wish to use.
  60. config BR2_GDB_VERSION_8_2
  61. bool "gdb 8.2.x"
  62. config BR2_GDB_VERSION_8_3
  63. bool "gdb 8.3.x"
  64. config BR2_GDB_VERSION_9_2
  65. bool "gdb 9.2.x"
  66. endchoice
  67. endif
  68. # If cross-gdb is not enabled, the latest working version is chosen.
  69. config BR2_GDB_VERSION
  70. string
  71. default "arc-2020.09-release-gdb" if BR2_arc
  72. default "4ecb98fbc2f94dbe01b69384afbc515107de73df" if BR2_csky
  73. default "8.2.1" if BR2_GDB_VERSION_8_2 || BR2_PACKAGE_GDB_VERSION_8_2
  74. default "8.3.1" if BR2_GDB_VERSION_8_3 || BR2_PACKAGE_GDB_VERSION_8_3
  75. default "9.2" if BR2_GDB_VERSION_9_2 || BR2_PACKAGE_GDB_VERSION_9_2
  76. depends on BR2_PACKAGE_GDB || BR2_PACKAGE_HOST_GDB