mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-11 22:43:40 +00:00
main: support gdb debugging with AVR
Be able to run `tinygo gdb -target=arduino examples/serial` and debug a program with the power of a real debugger. Note that this only works on LLVM 11 because older versions have a bug in the AVR backend that cause it to produce invalid debug information: https://reviews.llvm.org/D74213.
This commit is contained in:
committed by
Ron Evans
parent
bb27bbcb41
commit
4cc1cdf672
+2
-1
@@ -15,5 +15,6 @@
|
||||
"extra-files": [
|
||||
"src/internal/task/task_stack_avr.S",
|
||||
"src/runtime/gc_avr.S"
|
||||
]
|
||||
],
|
||||
"gdb": "avr-gdb"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user