go-delve / delve

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

ARM32 support #2051

Open ditek opened 4 years ago

ditek commented 4 years ago

Request to support ARM32 platform.

ARM64 was added in #118 and there are many comments on that issue about Raspberry Pi and ARM32, so I thought there should be a separate issue for that.

githubrobinlu commented 4 years ago

Request to support MIPS too.

debevv commented 3 years ago

+1 for this. I think the lack of a debugger on ARM32 is what is preventing a lot of devs from using go for embedded programming

nikitos1550 commented 3 years ago

+1

DominikBasnerSotec commented 3 years ago

+1

scalarion commented 3 years ago

+1

fouge commented 3 years ago

+1

markfarnan commented 3 years ago

+1 Would very much like to debug directly on the RPI-32 with VSCode Remote server and Delve

jbcoder2 commented 3 years ago

+1

SuperFromND commented 3 years ago

+1

yanggeorge commented 3 years ago

+1

zlmink commented 3 years ago

Bounty source

debevv commented 3 years ago

What are the required steps to port a new architecture? Is the current ARM 64 code in pkg/proc/native a good starting point in this case? I'm asking because I might try to port it in the next days

efancier-cn commented 3 years ago

+1 , really need it on ARM 32

shytikov commented 2 years ago

Would like to add my voice to army of people who really longing for ARM32 support!

zachpanter commented 2 years ago

+1, this would be immensely helpful.

finferflu commented 2 years ago

Just got a Raspberry Pi 400 and it looks like Go development will be hindered by this 😞

davidjspooner commented 2 years ago

I switched to the 64bit build of raspberry pi os - https://downloads.raspberrypi.org/raspios_arm64/images/ and ( with a pi4 ) am able to remotely debug just fine...

advancedwebdeveloper commented 2 years ago

Ping

markoxley commented 2 years ago

Any movement on this? Like others in this thread, I am keen to use Delve on Arm 32

pgeiem commented 2 years ago

We are also really interested to use Delve on Arm32. Any news regarding this ?

adelgado0723 commented 2 years ago

I'm successfully remote debugging on a raspberry pi zero running raspbian (ARM 32) using puppywang's code https://github.com/puppywang/delve. I know issues have been brought up with this (mostly a lack of testing methodology), but it seems to work for some people.

https://github.com/go-delve/delve/pull/2122

soypat commented 2 years ago

I am voicing my support for this. :heavy_plus_sign: :one: In case @puppywang hadn't seen it BountySource is at 800$

wlanboy commented 2 years ago

Would like to support this too. Would allow me to debug golang nativeliy on my Raspberry Pi 400.

efancier-cn commented 2 years ago

The request has been here a while, anyone knows any update on this?

agambier commented 1 year ago

+1, would be helpful

HM4704 commented 1 year ago

I have looked into puppywang's code and fixed some problems. With this changes the debugger looks quite stable and I am able to debug the debugger on my Raspi. Unfortunatly the code is still not good enough to be merged. Here is my branch.

parvit commented 1 year ago

@HM4704 Hi, what exactly would be necessary to add to the branch you're pointing to?

HM4704 commented 1 year ago

@https://github.com/parvit You can make a PR which I would merge.

parvit commented 1 year ago

@HM4704 I'm sorry i meant a different thing: i wish to know what kind of changes remain to implement in your branch for merging into the main.

HM4704 commented 1 year ago

@https://github.com/parvit It has been a while since I looked into it but here are the problems I remember: