Config.in 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. comment "Gdb Options"
  2. config BR2_PACKAGE_GDB
  3. bool "Build gdb debugger for the Target"
  4. select BR2_PACKAGE_NCURSES
  5. depends on BR2_USE_WCHAR
  6. depends on !BR2_sh && !BR2_sh64 && !BR2_avr32 && !BR2_microblaze && !BR2_bfin && !BR2_aarch64
  7. # The newest versions of gdb require thread debugging in the
  8. # toolchain. The only cases for which this is not needed is if
  9. # we use gdb 6.8 (marked deprecated)
  10. depends on \
  11. BR2_TOOLCHAIN_HAS_THREADS_DEBUG_IF_NEEDED || \
  12. BR2_DEPRECATED || \
  13. BR2_bfin
  14. help
  15. Build the full gdb debugger to run on the target.
  16. comment "Gdb debugger for the target needs WCHAR support in toolchain"
  17. depends on !BR2_USE_WCHAR
  18. config BR2_PACKAGE_GDB_SERVER
  19. bool "Build gdb server for the Target"
  20. depends on !BR2_TOOLCHAIN_EXTERNAL
  21. help
  22. Build the gdbserver stub to run on the target.
  23. A full gdb is needed to debug the progam.
  24. config BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY
  25. bool "Copy gdb server to the Target"
  26. depends on BR2_TOOLCHAIN_EXTERNAL
  27. help
  28. Copy the gdbserver provided by the external toolchain to the
  29. target.
  30. config BR2_PACKAGE_GDB_HOST
  31. bool "Build gdb for the Host"
  32. # cross-gdb is supposed to be part of the external
  33. # toolchain. And the build currently fails.
  34. depends on !BR2_TOOLCHAIN_EXTERNAL
  35. help
  36. Build gdb to run on the host to debug programs run on the target.
  37. choice
  38. prompt "GDB debugger Version"
  39. default BR2_GDB_VERSION_6_6 if BR2_bfin
  40. default BR2_GDB_VERSION_6_7_1_AVR32_2_1_5 if BR2_avr32
  41. default BR2_GDB_VERSION_7_4
  42. depends on BR2_PACKAGE_GDB || BR2_PACKAGE_GDB_SERVER || BR2_PACKAGE_GDB_HOST
  43. help
  44. Select the version of gdb you wish to use.
  45. config BR2_GDB_VERSION_6_6
  46. bool "gdb 6.6"
  47. depends on BR2_bfin
  48. config BR2_GDB_VERSION_6_7_1_AVR32_2_1_5
  49. depends on BR2_avr32
  50. bool "gdb 6.7.1-avr32-2.1.5"
  51. config BR2_GDB_VERSION_6_8
  52. bool "gdb 6.8"
  53. depends on !(BR2_avr32 || BR2_bfin)
  54. depends on BR2_DEPRECATED
  55. config BR2_GDB_VERSION_7_0_1
  56. bool "gdb 7.0.1"
  57. depends on !BR2_bfin
  58. depends on BR2_DEPRECATED
  59. depends on BR2_TOOLCHAIN_HAS_THREADS_DEBUG_IF_NEEDED
  60. select BR2_PTHREAD_DEBUG if (BR2_TOOLCHAIN_BUILDROOT && !BR2_PTHREADS_NONE)
  61. config BR2_GDB_VERSION_7_1
  62. bool "gdb 7.1"
  63. depends on !BR2_bfin
  64. depends on BR2_DEPRECATED
  65. depends on BR2_TOOLCHAIN_HAS_THREADS_DEBUG_IF_NEEDED
  66. select BR2_PTHREAD_DEBUG if (BR2_TOOLCHAIN_BUILDROOT && !BR2_PTHREADS_NONE)
  67. config BR2_GDB_VERSION_7_2
  68. bool "gdb 7.2.x"
  69. depends on !BR2_bfin
  70. depends on BR2_TOOLCHAIN_HAS_THREADS_DEBUG_IF_NEEDED
  71. select BR2_PTHREAD_DEBUG if (BR2_TOOLCHAIN_BUILDROOT && !BR2_PTHREADS_NONE)
  72. config BR2_GDB_VERSION_7_3
  73. bool "gdb 7.3.x"
  74. depends on !BR2_bfin
  75. depends on BR2_TOOLCHAIN_HAS_THREADS_DEBUG_IF_NEEDED
  76. select BR2_PTHREAD_DEBUG if (BR2_TOOLCHAIN_BUILDROOT && !BR2_PTHREADS_NONE)
  77. config BR2_GDB_VERSION_7_4
  78. bool "gdb 7.4.x"
  79. depends on !BR2_bfin
  80. depends on BR2_TOOLCHAIN_HAS_THREADS_DEBUG_IF_NEEDED
  81. select BR2_PTHREAD_DEBUG if (BR2_TOOLCHAIN_BUILDROOT && !BR2_PTHREADS_NONE)
  82. endchoice
  83. comment "gdb support needs pthread debug support in toolchain"
  84. depends on !BR2_DEPRECATED && !BR2_bfin && !BR2_TOOLCHAIN_HAS_THREADS_DEBUG_IF_NEEDED
  85. config BR2_GDB_VERSION
  86. string
  87. default "6.6a" if BR2_GDB_VERSION_6_6
  88. default "6.7.1-avr32-2.1.5" if BR2_GDB_VERSION_6_7_1_AVR32_2_1_5
  89. default "6.8a" if BR2_GDB_VERSION_6_8
  90. default "7.0.1a" if BR2_GDB_VERSION_7_0_1
  91. default "7.1a" if BR2_GDB_VERSION_7_1
  92. default "7.2a" if BR2_GDB_VERSION_7_2
  93. default "7.3.1" if BR2_GDB_VERSION_7_3
  94. default "7.4.1" if BR2_GDB_VERSION_7_4