我按照版主给的Hello4Skyeye的例子,进行到tar sim的时候就有问题了:
1 (gdb) tar sim
Undefined target command: "sim". Try "help target".
出现这个提示,于是我help target发现确实煤油tar sim这项.所以我试者这样:
2 (gdb) target exec hello
warning: unknown architecture file may be incompatible with i386 target.
(gdb) run
Starting program: /usr/newcore/workspace/skyeye/Hello4Skyeye/hello
/bin/bash: line 1: /usr/newcore/workspace/skyeye/Hello4Skyeye/hello: cannot execute binary file
/bin/bash: line 1: /usr/newcore/workspace/skyeye/Hello4Skyeye/hello: 成功
Program exited with code 01.
warning: shared library handler failed to enable breakpoint
You can't do that without a process to debug.
以上就是整个错误提示,什么也没打印出来.请看看是什么问题?是Skyeye版本的问题么?还是其它?