--- Log opened Fri May 06 00:00:53 2016 | ||
shorne | Intersting one crash I get form the simulator is here for handler 0xe00 (trap handler, i.e. debug breakpoint) | 00:22 |
---|---|---|
shorne | https://github.com/openrisc/newlib/blob/or1k/libgloss/or1k/crt0.S#L134 | 00:22 |
shorne | the value of r1 is 0xffffff78 | 00:23 |
shorne | which means on line 121 (loading the stack pointer) is zero (which it is in memory) | 00:23 |
shorne | so somehow the setup didnt work, tracing back to where that should be setup | 00:23 |
shorne | I see, there is a place clear_bss_loop that sets that up, or it did | 02:58 |
shorne | I think my test is wrong, I can't break in *0x100 since that the init vector, if the trap vector is hit then ov course nothing will be init'ed yet! | 03:05 |
shorne | haha, ok, at least thats correctly failing | 03:06 |
shorne | but, the break point in main() fails too with a different error | 03:06 |
wallento | shorne: this makes sense | 05:54 |
wallento | it breaks before setting up the stack | 05:54 |
wallento | I am not sure how to properly solve this, except don't break before the init is done :) | 05:54 |
--- Log closed Sat May 07 00:00:55 2016 |
Generated by irclog2html.py 2.15.2 by Marius Gedminas - find it at mg.pov.lt!