Re: [go-nuts] Seperate debuginfo?

2020-08-13 Thread 'Ethan Pailes' via golang-nuts
I've worked on this some more now, and it turns out that while directly executing the result of `upx -9` breaks, you can use `upx --exact -9` to compress your exe and then `upx -d` to decompress it later. The decompressed executable works with the .debug file. On Wednesday, August 12, 2020 at 3:

Re: [go-nuts] Seperate debuginfo?

2020-08-12 Thread 'Ethan Pailes' via golang-nuts
Wow, that works perfectly! Thank you so much! The --add-gnu-debuglink=x.debug bit was what I was missing. Unfortunately, it doesn't seem like delve supports separate debug info yet, so I'll have to stick with gdb in these situations. Also, it seems that upx[1] breaks the debuglink, which doesn'