Config.in 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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. help
  15. Build the gdbserver stub to run on the target.
  16. A full gdb is needed to debug the progam.
  17. config BR2_PACKAGE_GDB_HOST
  18. bool "Build gdb for the Host"
  19. # cross-gdb is supposed to be part of the external
  20. # toolchain. And the build currently fails.
  21. depends on !BR2_TOOLCHAIN_EXTERNAL
  22. help
  23. Build gdb to run on the host to debug programs run on the target.
  24. choice
  25. prompt "GDB debugger Version"
  26. default BR2_GDB_VERSION_6_6 if BR2_bfin
  27. default BR2_GDB_VERSION_6_7_1_AVR32_2_1_5 if BR2_avr32
  28. default BR2_GDB_VERSION_7_3
  29. depends on BR2_PACKAGE_GDB || BR2_PACKAGE_GDB_SERVER || BR2_PACKAGE_GDB_HOST
  30. help
  31. Select the version of gdb you wish to use.
  32. config BR2_GDB_VERSION_6_6
  33. bool "gdb 6.6"
  34. depends on BR2_bfin
  35. config BR2_GDB_VERSION_6_7_1_AVR32_2_1_5
  36. depends on BR2_avr32
  37. bool "gdb 6.7.1-avr32-2.1.5"
  38. config BR2_GDB_VERSION_6_8
  39. bool "gdb 6.8"
  40. depends on !(BR2_avr32 || BR2_bfin)
  41. depends on BR2_DEPRECATED
  42. config BR2_GDB_VERSION_7_0_1
  43. bool "gdb 7.0.1"
  44. depends on !BR2_bfin
  45. depends on BR2_DEPRECATED
  46. depends on BR2_TOOLCHAIN_HAS_THREADS_DEBUG_IF_NEEDED
  47. select BR2_PTHREAD_DEBUG if (BR2_TOOLCHAIN_BUILDROOT && !BR2_PTHREADS_NONE)
  48. config BR2_GDB_VERSION_7_1
  49. bool "gdb 7.1"
  50. depends on !BR2_bfin
  51. depends on BR2_TOOLCHAIN_HAS_THREADS_DEBUG_IF_NEEDED
  52. select BR2_PTHREAD_DEBUG if (BR2_TOOLCHAIN_BUILDROOT && !BR2_PTHREADS_NONE)
  53. config BR2_GDB_VERSION_7_2
  54. bool "gdb 7.2.x"
  55. depends on !BR2_bfin
  56. depends on BR2_TOOLCHAIN_HAS_THREADS_DEBUG_IF_NEEDED
  57. select BR2_PTHREAD_DEBUG if (BR2_TOOLCHAIN_BUILDROOT && !BR2_PTHREADS_NONE)
  58. config BR2_GDB_VERSION_7_3
  59. bool "gdb 7.3.x"
  60. depends on !BR2_bfin
  61. depends on BR2_TOOLCHAIN_HAS_THREADS_DEBUG_IF_NEEDED
  62. select BR2_PTHREAD_DEBUG if (BR2_TOOLCHAIN_BUILDROOT && !BR2_PTHREADS_NONE)
  63. endchoice
  64. comment "gdb 7.x support needs pthread debug support in toolchain"
  65. depends on BR2_PACKAGE_GDB || BR2_PACKAGE_GDB_SERVER || BR2_PACKAGE_GDB_HOST
  66. depends on !BR2_TOOLCHAIN_HAS_THREADS_DEBUG_IF_NEEDED
  67. config BR2_GDB_VERSION
  68. string
  69. default "6.6a" if BR2_GDB_VERSION_6_6
  70. default "6.7.1-avr32-2.1.5" if BR2_GDB_VERSION_6_7_1_AVR32_2_1_5
  71. default "6.8a" if BR2_GDB_VERSION_6_8
  72. default "7.0.1a" if BR2_GDB_VERSION_7_0_1
  73. default "7.1a" if BR2_GDB_VERSION_7_1
  74. default "7.2a" if BR2_GDB_VERSION_7_2
  75. default "7.3.1" if BR2_GDB_VERSION_7_3