Config.in 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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. select BR2_PTHREAD_DEBUG if !BR2_PTHREADS_NONE
  47. config BR2_GDB_VERSION_7_1
  48. bool "gdb 7.1"
  49. depends on !BR2_bfin
  50. select BR2_PTHREAD_DEBUG if !BR2_PTHREADS_NONE
  51. config BR2_GDB_VERSION_7_2
  52. bool "gdb 7.2.x"
  53. depends on !BR2_bfin
  54. select BR2_PTHREAD_DEBUG if !BR2_PTHREADS_NONE
  55. config BR2_GDB_VERSION_7_3
  56. bool "gdb 7.3.x"
  57. depends on !BR2_bfin
  58. select BR2_PTHREAD_DEBUG if !BR2_PTHREADS_NONE
  59. endchoice
  60. config BR2_GDB_VERSION
  61. string
  62. default "6.6a" if BR2_GDB_VERSION_6_6
  63. default "6.7.1-avr32-2.1.5" if BR2_GDB_VERSION_6_7_1_AVR32_2_1_5
  64. default "6.8a" if BR2_GDB_VERSION_6_8
  65. default "7.0.1a" if BR2_GDB_VERSION_7_0_1
  66. default "7.1a" if BR2_GDB_VERSION_7_1
  67. default "7.2a" if BR2_GDB_VERSION_7_2
  68. default "7.3.1" if BR2_GDB_VERSION_7_3