IRC logs for #openrisc Sunday, 2019-07-28

--- Log opened Sun Jul 28 00:00:15 2019
shornewtfuzz: doing bt in the exception handler doesnt always work as the stack doesnt really exist18:40
shornebut... I remember I did fix it so the assert didnt fail.  I thought that change was already upstream18:41
shornehmm, no it looks like there still is an assert there18:43
shornehttps://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob;f=gdb/or1k-tdep.c;h=8f6f6e196090f0c39d3f347a41531b4eeebd37b0;hb=HEAD#l47918:44
tpbTitle: sourceware.org Git - binutils-gdb.git/blob - gdb/or1k-tdep.c (at sourceware.org)18:44
shornemaybe before it completely aborted when you hit this assert, now it just prints a warning18:45
shornebut I think we can fix it18:45
shornebasically the assert is checking "do we have a parent stack frame?"  if no then stop trying to backtrace.  The reason it fails is in exception handler there is no stack frame18:47
shornethere is probably some patches to newlib we can do to build a stack frame on exceptions (I did for some linux configurations)18:48
--- Log closed Mon Jul 29 00:00:17 2019

Generated by irclog2html.py 2.15.2 by Marius Gedminas - find it at mg.pov.lt!