ccrause

Results 3 comments of ccrause

This is strange, 0x900 is 1 byte past the end of RAM (0x8FF), and reading two bytes past the end of RAM is allowed by this code: https://github.com/buserror/simavr/blob/51de22447b70aff741c5bd7c1759db8d343e5682/simavr/sim/sim_gdb.c#L371 Perhaps enable...

I checked the backtrace over debugwire at start (tiny45): ``` (gdb) file blink.elf Reading symbols from blink.elf...done. (gdb) target remote :2345 Remote debugging using :2345 0x00000000 in _START () (gdb)...

So after comparing different scenarios it seems as if gdb will do the following when the stack pointer is pointing to end of RAM, such as when the program hasn't...