projects
/
external
/
binutils.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Initial pass at Go language support.
[external/binutils.git]
/
gdb
/
testsuite
/
gdb.go
/
unsafe.go
1
package main
2
3
import ("fmt"
4
"unsafe")
5
6
var mystring = "Shall we?"
7
8
func main () {
9
fmt.Printf ("%d\n", unsafe.Sizeof (42)) // set breakpoint 1 here
10
fmt.Printf ("%d\n", unsafe.Sizeof (mystring))
11
}