aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libgo/runtime/go-caller.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/runtime/go-caller.c b/libgo/runtime/go-caller.c
index 8402958..b18759f 100644
--- a/libgo/runtime/go-caller.c
+++ b/libgo/runtime/go-caller.c
@@ -31,7 +31,7 @@ Caller (int n __attribute__ ((unused)))
/* A proper implementation needs to dig through the debugging
information. */
- ret.pc = (uint64_t) (uintptr_t) __builtin_return_address (1);
+ ret.pc = (uint64_t) (uintptr_t) __builtin_return_address (0);
ret.file.__data = NULL;
ret.file.__length = 0;
ret.line = 0;