Hey guys, sorry for bothering :D Here I want to ask a small question about the Golang binary debug info.
The steps to reproduce my problem: 1. $ cat symtab.go ``` package main import ( "fmt" "net/http" _ "net/http/pprof" "os" ) func main() { fmt.Println(os.Getpid()) http.ListenAndServe(":9990", nil) } ``` 2. $ go build symtab.go 3. $ ./main` 4. $ gdb -pid $THE-PID 5. (gdb) i types findfuncbucket All types matching regular expression "findfuncbucket": Here I wonder the type `findfuncbucket` was defined in https://github.com/golang/go/blob/ff90f4af66c30a819532fda8754bf29e8ae6140e/src/runtime/symtab.go#L498. So I guess it should show up here like ``` (gdb) i types runtime.bucket All types matching regular expression "runtime.bucket": File go: struct runtime.bucket; typedef runtime.bucketType; struct struct { F uintptr; p unsafe.Pointer; b *runtime.bucket }; ``` would show the type `runtime.bucket` defined in https://github.com/golang/go/blob/ff90f4af66c30a819532fda8754bf29e8ae6140e/src/runtime/mprof.go#L48 So what did I miss here? :D Thanks! -- 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://groups.google.com/d/optout.