Hi All, 

How to print content of structure's one of member using gdb if we have 
address of structure. 
Ex: 
type Sar struct {
 name string 
 clp uintptr
number int
}
var x uintptr
let's say x pointing to address of structure sar, How to print member data 
clp in gdb.
I tried
(gdb) print (*Sar)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(x)))).clp
No symbol "Sar" in current context

Any inputs on printing content of structure's member if we have address of 
structure.

Thank's in Advance!

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/b96bcff5-2e41-4eca-b63c-8c82e982eab4n%40googlegroups.com.

Reply via email to