Fix hosted glibc backtrace
According to backtrace(3) man page, the string returned from backtrace_symbols() contains the return address so we shouldn't need to print it ourselves. Change-Id: Ia779207285c9ea0052b9aee3d84ee8380bf46d82
This commit is contained in:
parent
6b1b7b6016
commit
b8b195a296
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ void rb_backtrace(int pc, int sp, unsigned *line)
|
|||
|
||||
for(int i = 0; i < count; i++)
|
||||
{
|
||||
lcd_putsf(0, (*line)++, " %s", buffer[i], strings[i]);
|
||||
lcd_putsf(0, (*line)++, " %s", strings[i]);
|
||||
lcd_update();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue