go-delve / delve

Delve is a debugger for the Go programming language.
MIT License
22.38k stars 2.13k forks source link

support linux-loong64 native debug #3685

Open Yelvens opened 3 months ago

Yelvens commented 3 months ago

LoongArch is a new RISC ISA, which is independently designed by Loongson Technology.

LoongArch includes a reduced 32-bit version (LA32R), a standard 32-bit version (LA32S) and a 64-bit version (LA64), and loong64 is the 64-bit version of LoongArch.

LoongArch documentation: https://github.com/loongson/LoongArch-Documentation.git

Since version 1.19, golang upstream support for the LA architecture has been maintained.

Yelvens commented 3 months ago

The arch project hasn't been integrated into the upstream yet, so I duplicated it to the vendor and submitted it.

aarzilli commented 3 months ago

PS. also see test failures.

derekparker commented 2 months ago

@ihuang77 any updates on this based on @aarzilli feedback?

Yelvens commented 2 months ago

Hi @aarzilli @derekparker

The x/arch has submitted a PR to support loong64, but it has not yet been merged into the upstream repository.

I can provide machines running CI at any time.

Thanks.

aarzilli commented 2 months ago

That's cool, we'll have to wait for that PR to be merged for this.