Open realqhc opened 2 years ago
ok. Let's try again.
看看是否有希望放到2023的路线图中。
RISCV尚且还不支持,dlv可以作为Roadmap中新的一项。
https://github.com/go-delve/delve/blob/master/pkg/proc/native/support_sentinel_linux.go
// This file is used to detect build on unsupported GOOS/GOARCH combinations.
//go:build linux && !amd64 && !arm64 && !386
// +build linux,!amd64,!arm64,!386
package your_linux_architecture_is_not_supported_by_delve
这个工作量比较大,dlv需要不少其他项目的适配
dlv适配需要高级2个月左右,其他项目适配大概也需要1个月(发布还不确定)
https://github.com/go-delve/delve 要检查go程序的coredump,不能用gdb,而是要用这个工具。不知道它对RV的支持如何?
更新:
service/debugger/debugger.go:32:2: found packages native (dump_linux.go) and your_linux_architecture_is_not_supported_by_delve (support_sentinel_linux.go) in /home/.../delve/pkg/proc/native