e2 studio v7.5.0のStack Analysis ViewはGNURXでは1箇所でも関数ポインタで関数呼び出しするとERRORになって使えませんね

こんにちは。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    162KB

e2 studioのスタック解析ビューはGNURXでは関数ポインタで関数呼び出ししているとエラーになる


素朴に関数呼び出ししているのであればスタック解析ビューにスタック情報が表示される

 

Parents
  • こんにちは。NoMaYです。

    e2 studio v7.6.0がリリースされましたが、バグリストを見ると、修正されたようでした。(ちなみに、さっそくこのページもブラウザのお気に入りメニュー/ブックマークメニューに登録しました。)

    e²studio 7.6 Known Issues List
    List generated on 02/10/2019 17:40:14
    www2.renesas.eu/_custom/software/ree_eclipse/e2studio7/docs/releasenotes/7.6.0/openissues.htm

    IDE-28579

    Stack Analysis doesn't work in the case of function pointers

    Stack 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-29941

    e2 GDB Server stopped working when setting Eventpoints

    GDB server RX

    When you terminate a debug session after running it for a long time (more than 45 minutes), GDB server sometimes crash.


Reply
  • こんにちは。NoMaYです。

    e2 studio v7.6.0がリリースされましたが、バグリストを見ると、修正されたようでした。(ちなみに、さっそくこのページもブラウザのお気に入りメニュー/ブックマークメニューに登録しました。)

    e²studio 7.6 Known Issues List
    List generated on 02/10/2019 17:40:14
    www2.renesas.eu/_custom/software/ree_eclipse/e2studio7/docs/releasenotes/7.6.0/openissues.htm

    IDE-28579

    Stack Analysis doesn't work in the case of function pointers

    Stack 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-29941

    e2 GDB Server stopped working when setting Eventpoints

    GDB server RX

    When you terminate a debug session after running it for a long time (more than 45 minutes), GDB server sometimes crash.


Children
No Data