aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/runtime
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2012-05-04 15:01:11 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2012-05-04 15:01:11 +0000
commit33e337e34d69a2e298be8b6c109b601c2986339b (patch)
treedf1037674f2c69011469485414315a50607f9d08 /libgo/go/runtime
parent1eae36f08cddc7779cd0ed75b359c9a54f67adff (diff)
downloadgcc-33e337e34d69a2e298be8b6c109b601c2986339b.zip
gcc-33e337e34d69a2e298be8b6c109b601c2986339b.tar.gz
gcc-33e337e34d69a2e298be8b6c109b601c2986339b.tar.bz2
libgo: Update to Go 1.0.1 release.
From-SVN: r187163
Diffstat (limited to 'libgo/go/runtime')
-rw-r--r--libgo/go/runtime/extern.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/libgo/go/runtime/extern.go b/libgo/go/runtime/extern.go
index 2c097b0..659c8f44 100644
--- a/libgo/go/runtime/extern.go
+++ b/libgo/go/runtime/extern.go
@@ -20,7 +20,8 @@ func Goexit()
// Caller reports file and line number information about function invocations on
// the calling goroutine's stack. The argument skip is the number of stack frames
-// to ascend, with 0 identifying the caller of Caller. The return values report the
+// to ascend, with 1 identifying the caller of Caller. (For historical reasons the
+// meaning of skip differs between Caller and Callers.) The return values report the
// program counter, file name, and line number within the file of the corresponding
// call. The boolean ok is false if it was not possible to recover the information.
func Caller(skip int) (pc uintptr, file string, line int, ok bool)