Re: [go-nuts] Re: Debug Go program with GDB on macOS shows nothing

2018-09-27 Thread Ian Lance Taylor
On Thu, Sep 27, 2018 at 11:13 AM, changkun wrote: > Works, thanks! Hope the information cloud added to golang.org/doc/gdb Sent https://golang.org/cl/138182 . Ian > On Thursday, September 27, 2018 at 8:02:20 PM UTC+2, David Chase wrote: >> >> You did nothing wrong, in 1.11 we started compressing

[go-nuts] Re: Debug Go program with GDB on macOS shows nothing

2018-09-27 Thread changkun
Works, thanks! Hope the information cloud added to golang.org/doc/gdb On Thursday, September 27, 2018 at 8:02:20 PM UTC+2, David Chase wrote: > > You did nothing wrong, in 1.11 we started compressing the debug > information to reduce binary size, and gdb on the Mac does not understand > compress

[go-nuts] Re: Debug Go program with GDB on macOS shows nothing

2018-09-27 Thread 'David Chase' via golang-nuts
You did nothing wrong, in 1.11 we started compressing the debug information to reduce binary size, and gdb on the Mac does not understand compressed DWARF. We had hoped that the several speedbumps involved in running gdb on modern OSX would have caused most users to move to Delve, which handles