summaryrefslogtreecommitdiff
path: root/libgo/runtime
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2012-10-08 04:29:47 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2012-10-08 04:29:47 +0000
commitb9f699d7ab3f805c817239ec6635487e02f0696b (patch)
tree43b4d9b858291a465b36b20765b5807beb843b4b /libgo/runtime
parent3ea038fcacb64c8ebbd0e5e693f7f843bcc891b7 (diff)
downloadgcc-b9f699d7ab3f805c817239ec6635487e02f0696b.tar.gz
runtime: Fix __go_symbol_value val argument to backtrace_syminfo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192194 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo/runtime')
-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 843adf6f00d..8dcf9e4bee9 100644
--- a/libgo/runtime/go-caller.c
+++ b/libgo/runtime/go-caller.c
@@ -144,7 +144,7 @@ __go_symbol_value (uintptr_t pc, uintptr_t *val)
{
*val = 0;
backtrace_syminfo (__go_get_backtrace_state (), pc, syminfo_callback,
- error_callback, &val);
+ error_callback, val);
return *val != 0;
}