Config.in 3.2 KB

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