diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2012-06-07 06:34:52 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2012-06-07 06:34:52 +0000 |
commit | f3dbbfcedf63844e454cdb1d0233934ea0d02507 (patch) | |
tree | 7bc0f8b58cc9a3b6da274879265495edfd958511 | |
parent | c59a4d0fa63a385f9769bd24d7e19090d3dcd85c (diff) | |
download | gcc-f3dbbfcedf63844e454cdb1d0233934ea0d02507.zip gcc-f3dbbfcedf63844e454cdb1d0233934ea0d02507.tar.gz gcc-f3dbbfcedf63844e454cdb1d0233934ea0d02507.tar.bz2 |
runtime: Fix printing of names in stack dumps.
From-SVN: r188297
-rw-r--r-- | libgo/runtime/go-traceback.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libgo/runtime/go-traceback.c b/libgo/runtime/go-traceback.c index 4e99ca7..c1571a3 100644 --- a/libgo/runtime/go-traceback.c +++ b/libgo/runtime/go-traceback.c @@ -35,8 +35,8 @@ runtime_printtrace (uintptr *pcbuf, int32 c) if (__go_file_line (pcbuf[i], &fn, &file, &line) && runtime_showframe (fn.__data)) { - runtime_printf ("%s\n", fn.__data); - runtime_printf ("\t%s:%d\n", file.__data, line); + runtime_printf ("%S\n", fn); + runtime_printf ("\t%S:%d\n", file, line); } } } |