Commit f3dbbfce by Ian Lance Taylor

runtime: Fix printing of names in stack dumps.

From-SVN: r188297
parent c59a4d0f
......@@ -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);
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment