Config.in.host 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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. comment "Host GDB Options"
  7. depends on !BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY
  8. depends on BR2_PACKAGE_HOST_GDB_ARCH_SUPPORTS
  9. config BR2_PACKAGE_HOST_GDB
  10. bool "Build cross gdb for the host"
  11. # When the external toolchain gdbserver is used, we shouldn't
  12. # allow to build a cross-gdb, as the one of the external
  13. # toolchain should be used.
  14. depends on !BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY
  15. depends on BR2_PACKAGE_HOST_GDB_ARCH_SUPPORTS
  16. help
  17. Build a cross gdb that runs on the host machine and debugs
  18. programs running on the target. It requires 'gdbserver'
  19. installed on the target, see BR2_PACKAGE_GDB_SERVER to
  20. enable it.
  21. if BR2_PACKAGE_HOST_GDB
  22. config BR2_PACKAGE_HOST_GDB_TUI
  23. bool "TUI support"
  24. help
  25. This option enables terminal user interface (TUI) for gdb
  26. config BR2_PACKAGE_HOST_GDB_PYTHON3
  27. bool "Python support"
  28. help
  29. This option enables the Python 3 support in the cross gdb.
  30. config BR2_PACKAGE_HOST_GDB_SIM
  31. bool "Simulator support"
  32. depends on !BR2_arc
  33. help
  34. This option enables the simulator support in the cross gdb.
  35. choice
  36. prompt "GDB debugger Version"
  37. default BR2_GDB_VERSION_13
  38. depends on !BR2_arc
  39. help
  40. Select the version of gdb you wish to use.
  41. config BR2_GDB_VERSION_12
  42. bool "gdb 12.x"
  43. config BR2_GDB_VERSION_13
  44. bool "gdb 13.x"
  45. config BR2_GDB_VERSION_14
  46. bool "gdb 14.x"
  47. endchoice
  48. endif
  49. # If cross-gdb is not enabled, the latest stable version is chosen.
  50. config BR2_GDB_VERSION
  51. string
  52. default "arc-2023.09-release" if BR2_arc
  53. default "12.1" if BR2_GDB_VERSION_12
  54. default "13.2" if BR2_GDB_VERSION_13 || !BR2_PACKAGE_HOST_GDB
  55. # When making 14.x the default, or 14.x becomes the oldest version,
  56. # be sure to update the target variant to properly select mpfr.
  57. default "14.1" if BR2_GDB_VERSION_14
  58. depends on BR2_PACKAGE_GDB || BR2_PACKAGE_HOST_GDB