Local Variables not updated during call

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Local Variables not updated during call

367件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by wdawson61 on Thu Apr 07 09:31:19 MST 2011
LPCXpresso:
Version: LPCXpresso 3.8.2 [Build 129] [31/01/2011]
Ubuntu 10.10
LPC1754

In some modules (source files) of a project, the local variable display does not show the correct "frame" I.e., the local variables do not change when stepping into a function.  The variables from the calling function remain in the display and none of the called routine's varaibles are displayed.

In other modules(files) of the same project all works perfectly.  The called function are prototyped before the calling functions if that makes any diff.  (Though I have switched the order to no avail).
0 件の賞賛
返信
1 返信

361件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Thu Apr 07 13:18:52 MST 2011
This is *possibly* to do with the use of the linker option --gc-sections. Try removing it from the linker options and then try again.

If this does not solve the problem, please post a project that exhibits the problem, and we'll take a look.
0 件の賞賛
返信