Message ID | mcr8vz0nrfg.fsf@google.com |
---|---|
State | New |
Headers | show |
diff -r 5f4f01af0140 libgo/runtime/go-caller.c --- a/libgo/runtime/go-caller.c Tue Jan 04 15:29:15 2011 -0800 +++ b/libgo/runtime/go-caller.c Tue Jan 04 16:02:55 2011 -0800 @@ -31,7 +31,7 @@ /* 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;