Config.in.gdb 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. choice
  4. prompt "GNU debugger"
  5. config ADK_TOOLCHAIN_WITHOUT_GDB
  6. bool "disabled"
  7. help
  8. Disable GDB for the host.
  9. config ADK_TOOLCHAIN_WITH_GDB
  10. bool "enabled"
  11. help
  12. Enable GDB for the host. Version selection will be used
  13. for gdb/gdbserver for the target.
  14. endchoice
  15. choice
  16. prompt "GNU debugger version"
  17. depends on ADK_TOOLCHAIN_WITH_GDB
  18. default ADK_TOOLCHAIN_GDB_H8300_GIT if ADK_TARGET_ARCH_H8300
  19. default ADK_TOOLCHAIN_GDB_RISCV_GIT if ADK_TARGET_ARCH_RISCV32
  20. default ADK_TOOLCHAIN_GDB_RISCV_GIT if ADK_TARGET_ARCH_RISCV64
  21. default ADK_TOOLCHAIN_GDB_8_2
  22. config ADK_TOOLCHAIN_GDB_GIT
  23. bool "git"
  24. depends on !ADK_TARGET_ARCH_AVR32
  25. depends on !ADK_TARGET_ARCH_H8300
  26. depends on !ADK_TARGET_ARCH_NDS32
  27. depends on !ADK_TARGET_ARCH_RISCV32
  28. depends on !ADK_TARGET_ARCH_RISCV64
  29. config ADK_TOOLCHAIN_GDB_H8300_GIT
  30. bool "h8300-git"
  31. depends on ADK_TARGET_ARCH_H8300
  32. config ADK_TOOLCHAIN_GDB_RISCV_GIT
  33. bool "riscv-git"
  34. depends on ADK_TARGET_ARCH_RISCV32 || ADK_TARGET_ARCH_RISCV64
  35. config ADK_TOOLCHAIN_GDB_8_2
  36. bool "8.2.1"
  37. depends on !ADK_TARGET_ARCH_AVR32
  38. depends on !ADK_TARGET_ARCH_H8300
  39. depends on !ADK_TARGET_ARCH_NDS32
  40. depends on !ADK_TARGET_ARCH_RISCV32
  41. depends on !ADK_TARGET_ARCH_RISCV64
  42. config ADK_TOOLCHAIN_GDB_6_7_1
  43. bool "6.7.1"
  44. depends on ADK_TARGET_ARCH_AVR32
  45. endchoice