aboutsummaryrefslogtreecommitdiff
path: root/libgo
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2012-10-08 04:29:47 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2012-10-08 04:29:47 +0000
commitfb521d54f196ecb7e236159567083f22867c8e7b (patch)
tree43b4d9b858291a465b36b20765b5807beb843b4b /libgo
parentfce1e5fb8f22c020935ab99b9a05e55ed4a89c78 (diff)
downloadgcc-fb521d54f196ecb7e236159567083f22867c8e7b.zip
gcc-fb521d54f196ecb7e236159567083f22867c8e7b.tar.gz
gcc-fb521d54f196ecb7e236159567083f22867c8e7b.tar.bz2
runtime: Fix __go_symbol_value val argument to backtrace_syminfo.
From-SVN: r192194
Diffstat (limited to 'libgo')
-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 843adf6..8dcf9e4 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;
}