Page 1 of 1

Potential bug in shell_cmd.c

Posted: Thu Apr 07, 2016 12:42 pm
by woodstock
Perhaps I have messed up somewhere with my versioning and have got out of sync, but I seem to have a problem with os/various/shell/shell_cmd.c file...

On line 165 the following code is used, referring to a thread variable that I believe is no longer used(??).

Code: Select all

uint32_t stklimit = (uint32_t)tp->stklimit;


I believe this should instead be:

Code: Select all

uint32_t stklimit = (uint32_t)tp->wabase;


My apologies if I have missed something – I have not looked at ChibiOS since v3.0.x and am only just migrating to ChibiOS 16 now.

Re: Potential bug in shell_cmd.c

Posted: Thu Apr 07, 2016 12:45 pm
by Giovanni
Hi,

That variable changed name in the trunk code, 16.1.4 still uses the old name.

I will verify.

Giovanni