免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2046 | 回复: 0
打印 上一主题 下一主题

Problem making gdb for powerpc-elf architecture [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2013-04-15 13:20 |只看该作者 |倒序浏览
本帖最后由 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

望各位大牛赐教!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP