こんにちは。NoMaYです。e2 studio 7.5.0+RXスマートコンフィグレータplugin 7.5.0+GNURX 2019q2(4.8.4.201902)で作業していてスタック解析ビューの致命的な(だと私は思う)制限事項に気付きました。1箇所でも関数ポインタで関数呼び出しする箇所があると、以下の画面コピーの通り(原因が大変分かり難い)エラーになってしまうのですが、そもそもR_BSPモジュールにそういう箇所が存在していますので、実務的には全く使えない、ということになりますね。(ちなみに、FreeRTOS Kernelのソースにもそういう箇所が存在していますし、FITの各モジュールでのコールバック関数の呼び出しも関数ポインタを使用した関数呼び出しですね。)現象再現プロジェクトのファイル一式issue_20191007.zip 162KBe2 studioのスタック解析ビューはGNURXでは関数ポインタで関数呼び出ししているとエラーになる素朴に関数呼び出ししているのであればスタック解析ビューにスタック情報が表示される
こんにちは。NoMaYです。e2 studio v7.6.0がリリースされましたが、バグリストを見ると、修正されたようでした。(ちなみに、さっそくこのページもブラウザのお気に入りメニュー/ブックマークメニューに登録しました。)e²studio 7.6 Known Issues ListList generated on 02/10/2019 17:40:14www2.renesas.eu/_custom/software/ree_eclipse/e2studio7/docs/releasenotes/7.6.0/openissues.htm「IDE-28579Stack Analysis doesn't work in the case of function pointersStack Analysis View[GCCRX, GCCRL, GNU ARM Embedded] In a project that has function pointers, the Stack Analysis view cannot work correctly and not display information. [Workaround] Add options to display stack information as warning message in Stack Analysis view to the specified files (except file has function pointers) which you want to see the stack size and rebuild, stack size information for functions in these files can display in Stack Analysis view. This issue is fixed by e2 studio 7.6.」[思い付き]このページですが、e2 studioのヘルプメニューから開けるようになっていたら便利かも、、、[追記]オイオイwww「IDE-29941e2 GDB Server stopped working when setting EventpointsGDB server RXWhen you terminate a debug session after running it for a long time (more than 45 minutes), GDB server sometimes crash.」