Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ubootのデバッグ中、ステップシーケンスは連続していません。gdbプロンプトでnext(n)を実行すると、他の予期しない行に移動します。ターゲットにNFSマウントを実行してデバッグしています。どうか明らかにしてください。
@microMolviの答えは正しいですvim Makefile。ubootソースのトップディレクトリで、 でCFLAGS置換-O2(0ではなくO)を見つけることができます-O0。その後、ステップバイステップで問題ありません。
vim Makefile
CFLAGS
-O2
-O0
ところで、GDB で s(step) を使用する方が良いかもしれません。