Chinaunix
标题:
Problem making gdb for powerpc-elf architecture
[打印本页]
作者:
iosuser
时间:
2013-04-15 13:20
标题:
Problem making gdb for powerpc-elf architecture
本帖最后由 iosuser 于 2013-04-15 13:22 编辑
我最近在测试,在ubuntu下面如何远程调试cisco ios。所参考的资料是:
http://archive.cert.uni-stuttgar ... 08/08/msg00001.html
我的实验环境是ubuntu 12.10.在编译gdb6.0时,遇到了问题,如下:
-n idecode.c -d tmp-idecode.c \
-n itable.h -ht tmp-itable.h \
-n itable.c -t tmp-itable.c \
-n model.h -hm tmp-model.h \
-n model.c -m tmp-model.c \
-n support.h -hf tmp-support.h \
-n support.c -f tmp-support.c
-E
-F 32,f,o
-C
-S
-R
-I 1024
-N 5
-o ./dc-complex
-I .
-i ./ppc-instructions
./ppc-instructions:1285: missing position field at `(void)0;'
make[2]: *** [tmp-igen] Error 1
make[2]: Leaving directory `/home/user/test/gdb-6.0/sim/ppc'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/user/test/gdb-6.0/sim'
make: *** [all-sim] Error 2
我查阅了很多资料,包括咱们坛子里有showrun所发的帖子,但是他没有遇到过这个问题。
附showrun的链接:
http://bbs.chinaunix.net/forum.php?mod=viewthread&tid=2035921
望各位大牛赐教!
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2