Page 1 of 1

Unuset stack in ChibiStudio 4 plugin

Posted: Wed Jul 19, 2017 11:41 am
by steved
Should the 'Unused Stack' column in the latest RT4 Chibi plugin display OK? I'm just getting dashes. Using ChibiStudio 18 and ChibiOS 17.6 distribution.

Re: Unuset stack in ChibiStudio 4 plugin

Posted: Wed Jul 19, 2017 3:42 pm
by Giovanni
Thanks, I need to verify.

Giovanni

Re: Unuset stack in ChibiStudio 4 plugin

Posted: Fri Jul 28, 2017 2:49 pm
by steved
Looking at the debug structure in chregistry.c, field (uint8_t)_offsetof(thread_t, p_stklimit), of 16.1 became (uint8_t)_offsetof(thread_t, wabase), in 17.6.
Are they the same thing?

Re: Unuset stack in ChibiStudio 4 plugin

Posted: Fri Jul 28, 2017 4:40 pm
by Giovanni
Name changed but it is still the stack limit.

It is possible the plugin still searches for the old name, will verify.

Giovanni

Re: Unuset stack in ChibiStudio 4 plugin

Posted: Mon Aug 07, 2017 5:34 pm
by steved
My Java isn't up to working out what's going on properly, but line 292 of DebugProxy.java is:

Code: Select all

        stklimit = HexUtils.parseNumber(evaluateExpression("(uint32_t)((struct ch_thread *)" + current + ")->stklimit"));