mirror of git://gcc.gnu.org/git/gcc.git
runtime: Fix printing of names in stack dumps.
From-SVN: r188297
This commit is contained in:
parent
c59a4d0fa6
commit
f3dbbfcedf
|
|
@ -35,8 +35,8 @@ runtime_printtrace (uintptr *pcbuf, int32 c)
|
||||||
if (__go_file_line (pcbuf[i], &fn, &file, &line)
|
if (__go_file_line (pcbuf[i], &fn, &file, &line)
|
||||||
&& runtime_showframe (fn.__data))
|
&& runtime_showframe (fn.__data))
|
||||||
{
|
{
|
||||||
runtime_printf ("%s\n", fn.__data);
|
runtime_printf ("%S\n", fn);
|
||||||
runtime_printf ("\t%s:%d\n", file.__data, line);
|
runtime_printf ("\t%S:%d\n", file, line);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue