2
1

Config.in 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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. help
  7. Build the full gdb debugger to run on the target.
  8. comment "Gdb debugger for the target needs WCHAR support in toolchain"
  9. depends on !BR2_USE_WCHAR
  10. config BR2_PACKAGE_GDB_SERVER
  11. bool "Build gdb server for the Target"
  12. help
  13. Build the gdbserver stub to run on the target.
  14. A full gdb is needed to debug the progam.
  15. config BR2_PACKAGE_GDB_HOST
  16. bool "Build gdb for the Host"
  17. # cross-gdb is supposed to be part of the external
  18. # toolchain. And the build currently fails.
  19. depends on !BR2_TOOLCHAIN_EXTERNAL
  20. help
  21. Build gdb to run on the host to debug programs run on the target.
  22. choice
  23. prompt "GDB debugger Version"
  24. default BR2_GDB_VERSION_6_8 if !BR2_avr32
  25. default BR2_GDB_VERSION_6_7_1_AVR32_2_1_5 if BR2_avr32
  26. depends on BR2_PACKAGE_GDB || BR2_PACKAGE_GDB_SERVER || BR2_PACKAGE_GDB_HOST
  27. help
  28. Select the version of gdb you wish to use.
  29. config BR2_GDB_VERSION_6_6
  30. bool "gdb 6.6"
  31. depends on !BR2_avr32
  32. depends on BR2_DEPRECATED || BR2_bfin
  33. config BR2_GDB_VERSION_6_7_1
  34. depends on !(BR2_avr32 || BR2_bfin)
  35. bool "gdb 6.7.1"
  36. config BR2_GDB_VERSION_6_7_1_AVR32_2_1_5
  37. depends on BR2_avr32
  38. bool "gdb 6.7.1-avr32-2.1.5"
  39. config BR2_GDB_VERSION_6_8
  40. bool "gdb 6.8"
  41. depends on !(BR2_avr32 || BR2_bfin)
  42. config BR2_GDB_VERSION_7_0_1
  43. bool "gdb 7.0.1"
  44. depends on !BR2_bfin
  45. select BR2_PTHREAD_DEBUG if !BR2_PTHREADS_NONE
  46. config BR2_GDB_VERSION_7_1
  47. bool "gdb 7.1"
  48. depends on !BR2_bfin
  49. select BR2_PTHREAD_DEBUG if !BR2_PTHREADS_NONE
  50. endchoice
  51. config BR2_GDB_VERSION
  52. string
  53. default "6.6" if BR2_GDB_VERSION_6_6
  54. default "6.7.1" if BR2_GDB_VERSION_6_7_1
  55. default "6.7.1-avr32-2.1.5" if BR2_GDB_VERSION_6_7_1_AVR32_2_1_5
  56. default "6.8" if BR2_GDB_VERSION_6_8
  57. default "7.0.1" if BR2_GDB_VERSION_7_0_1
  58. default "7.1" if BR2_GDB_VERSION_7_1