cal wrote:Should that probably be a break 1,x (coded) instead of break 0,x (planted) ?
Yeah, I think you're right. Pushed the update.
Thanks for checking!
Explore... Chat... Share...
cal wrote:Should that probably be a break 1,x (coded) instead of break 0,x (planted) ?
jcmvbkbc wrote:cal wrote:Should that probably be a break 1,x (coded) instead of break 0,x (planted) ?
Yeah, I think you're right. Pushed the update.
Thanks for checking!
break 1,15
break 1,x
cal wrote:Generates aCode: Select allbreak 1,15
now after the code.
Can you explain to me the purpose of this?
Why would one execute a breakpoint AFTER the access?
Why does gcc believe to know that write and read access to address 0 should be treated as "kind of" fatal?
jcmvbkbc wrote:cal wrote:Generates aCode: Select allbreak 1,15
now after the code.
Can you explain to me the purpose of this?
Why would one execute a breakpoint AFTER the access?
Why does gcc believe to know that write and read access to address 0 should be treated as "kind of" fatal?
Because C (e.g. C99, 6.5.3.2:4) and C++ (e.g. C++98, 1.9:4) standards consider null-pointer dereference an undefined behaviour. The program that contains undefined behaviour is invalid, but GCC additionally tries to make sure that in case we reach that point we don't go any further. It's the "best effort" attempt, and in case there's a debugger connected, break 1, 15 fits perfectly. Without debugger it doesn't get any worse, since it's not guaranteed to work anyway.
It takes about 20-25 seconds for home assistant c[…]
I tried to upgrade tof my sonoff basic R2 with the[…]
a problem Perhaps you want to define "Probl[…]
Rebooting your router will not give you a faster I[…]
There are no other notifications from esptool.py i[…]
Using the Arduino IDE, you'll learn how to set up […]
In this project, you will post to Twitter using an[…]
In this project, we will build a water level contr[…]
I guess I'm late, but I had the same problem and f[…]
Last night I received my first D1 Minis for a lear[…]
Although I am aware that this is an old post, I fe[…]