Re: [go-nuts] how can i build a golang system library of debug version

2017-06-22 Thread Dave Cheney
go {build,install} -gcflags="-l -N" $PKG -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https:/

Re: [go-nuts] how can i build a golang system library of debug version

2017-06-22 Thread Wen Hailong
but default system library do optimization, sometime I can not check local variable On Friday, February 17, 2017 at 1:40:27 AM UTC+8, Ian Lance Taylor wrote: > > On Wed, Feb 15, 2017 at 11:29 PM, Wen Hailong <723...@gmail.com > > wrote: > > i want to debug golang system library. can step code o

Re: [go-nuts] how can i build a golang system library of debug version

2017-02-16 Thread Ian Lance Taylor
On Wed, Feb 15, 2017 at 11:29 PM, Wen Hailong <7234...@gmail.com> wrote: > i want to debug golang system library. can step code one by one Go programs are built with debugging info by default. You need to take special action to avoid the debugging info. But note https://golang.org/doc/gdb . You

[go-nuts] how can i build a golang system library of debug version

2017-02-16 Thread Wen Hailong
i want to debug golang system library. can step code one by one -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For mor