Unuset stack in ChibiStudio 4 plugin

Discussions and support about ChibiStudio, the free development environment for ARM.
Post Reply
steved
Posts: 834
Joined: Fri Nov 09, 2012 2:22 pm
Has thanked: 12 times
Been thanked: 138 times

Unuset stack in ChibiStudio 4 plugin

Post 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.
User avatar
Giovanni
Site Admin
Posts: 14895
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: Unuset stack in ChibiStudio 4 plugin

Post by Giovanni »

Thanks, I need to verify.

Giovanni
steved
Posts: 834
Joined: Fri Nov 09, 2012 2:22 pm
Has thanked: 12 times
Been thanked: 138 times

Re: Unuset stack in ChibiStudio 4 plugin

Post 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?
User avatar
Giovanni
Site Admin
Posts: 14895
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: Unuset stack in ChibiStudio 4 plugin

Post 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
steved
Posts: 834
Joined: Fri Nov 09, 2012 2:22 pm
Has thanked: 12 times
Been thanked: 138 times

Re: Unuset stack in ChibiStudio 4 plugin

Post 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"));
Post Reply