Unuset stack in ChibiStudio 4 plugin

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

Unuset stack in ChibiStudio 4 plugin

Postby steved » Wed Jul 19, 2017 11:41 am

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: 14455
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1076 times
Been thanked: 922 times
Contact:

Re: Unuset stack in ChibiStudio 4 plugin

Postby Giovanni » Wed Jul 19, 2017 3:42 pm

Thanks, I need to verify.

Giovanni

steved
Posts: 825
Joined: Fri Nov 09, 2012 2:22 pm
Has thanked: 12 times
Been thanked: 135 times

Re: Unuset stack in ChibiStudio 4 plugin

Postby steved » Fri Jul 28, 2017 2:49 pm

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: 14455
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1076 times
Been thanked: 922 times
Contact:

Re: Unuset stack in ChibiStudio 4 plugin

Postby Giovanni » Fri Jul 28, 2017 4:40 pm

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: 825
Joined: Fri Nov 09, 2012 2:22 pm
Has thanked: 12 times
Been thanked: 135 times

Re: Unuset stack in ChibiStudio 4 plugin

Postby steved » Mon Aug 07, 2017 5:34 pm

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


Return to “ChibiStudio”

Who is online

Users browsing this forum: No registered users and 5 guests