GDBの仕組みを知るために、この(http://cs.baylor.edu/~donahoo/tools/gdb/tutorial.html)ガイドを使用します。エラーE01でGDBリモートデバッグが失敗する
対象: はコンパイルと私の組込みLinux ARMプラットフォームにコードをアップロードした後、私は私のターゲットでgdbserverをと接続するためのリモート接続を使用します(仮想マシンで実行されているのUbuntu 14.04)
[email protected]:/Software# gdbserver HOST:1234 broken
Process broken created; pid = 1103
Listening on port 1234
Remote debugging from host 192.168.178.32
ホスト:
Remote debugging using 192.168.178.33:1234
warning: A handler for the OS ABI "GNU/Linux" is not built into this
configuration of GDB. Attempting to continue with the default arm settings.
Cannot access memory at address 0x0
0x43330d40 in ??()
(gdb)
私は43行目とそれがブレークポイントで停止するまでプログラムを継続するためにブレークポイントを設定します。
しかし、私はこのエラーを得た私のホスト上のステップ・コールの後、: ホスト:
warning: Remote failure reply: E01
Ignoring packet error, continuing...
対象:
ptrace: Input/output error.
input_interrupt, count = 1 c = 36 ('$')
それが何を意味し、私はそれをどのように修正することができますか?
ありがとうございました。
ありがとうございました。それは謝罪のヒントだった。 arm-none-eabi-gdbが私の現在のコンパイラで動作していないようです。 bitbake gdb-cross クロスコンパイラ用のgdbバージョンを作成することができます。 – Kampi