(toppers-users 4436) Re: TOPPERS/ASPのSkyeye簡易パッケージの質問2

ozaki.minoru @ jp.panasonic.com ozaki.minoru @ jp.panasonic.com
2015年 10月 15日 (木) 09:37:29 JST


パナソニックAVCネットワークスの尾崎です。

斉藤様

回答有り難うございます。
Launchpad GCCでは、一番古いパッケージで入手できるのがgdb-7.3です。
gdb-7.1はどのように入手してビルドすることができますか?


-----Original Message-----
From: users-bounces @ toppers.jp [mailto:users-bounces @ toppers.jp] On Behalf Of Naoki Saito
Sent: Wednesday, October 14, 2015 5:27 PM
To: users @ toppers.jp
Subject: (toppers-users 4435) Re: TOPPERS/ASPのSkyeye簡易パッケージの質問2

尾崎様

当方では gdb-7.1 をビルドして使っています.
現象としては以下のように思います.
http://sourceforge.net/p/skyeye/bugs/68/


自分の場合,gcc-4.9 を使っていたのですが,gdb-7.1と使用するために
コンパイルオプションとして -gdwarf-2 -gstrict-dwarf を追加する必要がありました.
http://stackoverflow.com/questions/17954293/how-to-change-the-version-of-a-compilation-unit

以上,よろしくお願いします

----
斉藤 直希
名古屋市工業研究所

2015年10月14日 15:10  <ozaki.minoru @ jp.panasonic.com>:
> パナソニックAVCネットワークスの尾崎です。
>
> 早速の複数の回答有り難うございました。
> 非常に参考になりました。
>
> Launchpad GCC を使い、リンクスクリプトを修正することでmakeができて
> Skyeyeで実行することができました。
> ありがとうございます。
>
> その後、gdbでデバックをしようとした所、下記のエラーが発生しています。
>
> デバック・クライアント側
> $ arm-none-eabi-gdb asp.exe
>         :
> Type "apropos word" to search for commands related to "word"...
> Reading symbols from asp.exe...done.
> (gdb) target remote localhost:12345
> Remote debugging using localhost:12345 Reply contains invalid hex 
> digit 117
> (gdb)
>
> デバックサーバー側
> $ skyeye -c skyeye.conf -d
>         :
> debugmode= 1, filename = skyeye.conf, server TCP port:12345 Remote 
> debugging using port:12345
> readchar: Got EOF
> Remote side has terminated connection.  GDBserver will reopen the connection.
>
> ネットで調べると、gdbとskyeyeのバージョンによるものと思われます。
>
> Skyeyeは、TOPPERSからダウンロードした以下のバージョンを使っています。
>
> ------------------------- SkyEye -V1.2.4 ---------------------------
> ----------------- DeviceManager Extension 2.2.0 ------------------
>
> 一方Launchpad GCCのgdbのバージョンは7.8.0.2を使用しています。
>
> どちらに合わせるべきか、教えていただけると助かります。
> 宜しくお願いします。
>
>
> ----------------------------------------------------------------------
> -----------
> パナソニックAVCネットワークス(社)
> イノベーションセンター 技術総括 セキュアソリューション課
>  Name:  尾崎 実
>  E-mail: ozaki.minoru @ jp.panasonic.com  MEITS 7-911-6901 
> TEL:050-3380-2446 FAX:092-477-1301
> ----------------------------------------------------------------------
> ------------
>
>