亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

Chinaunix

標(biāo)題: 問(wèn)一個(gè)關(guān)于gdbserver遠(yuǎn)程調(diào)試問(wèn)題 [打印本頁(yè)]

作者: jason_bj    時(shí)間: 2009-12-18 09:18
標(biāo)題: 問(wèn)一個(gè)關(guān)于gdbserver遠(yuǎn)程調(diào)試問(wèn)題
我想問(wèn)一個(gè)問(wèn)題,如果我的目標(biāo)機(jī)是mipsel ,我的pc端是x86 版本,我想gdbserver遠(yuǎn)程調(diào)試;
我下載了gdb6.8,mipsel版本已經(jīng)編譯完成,我看網(wǎng)上一些資料說(shuō)必須編譯一個(gè)x86版本,我按照網(wǎng)上的資料編譯,命令: ./configure --host=i686-pc-linux-gnu --target=mipsel-linux
未編譯通過(guò),我的gcc-4.4.1.2版本 glibcldd (GNU libc) 2.10.2
錯(cuò)誤信息如下:
make[2]: Entering directory `/home/gdb-6.8/gdb'
gcc -c -g -O2   -I. -I.././gdb -I.././gdb/config -DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H -I.././gdb/../include/opcode -I.././gdb/../readline/.. -I../bfd -I.././gdb/../bfd -I.././gdb/../include -I../libdecnumber -I.././gdb/../libdecnumber   -DMI_OUT=1 -DTUI=1  -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused -Wno-switch -Wno-char-subscripts -Werror eval.c
cc1: warnings being treated as errors
eval.c: 在函數(shù)‘evaluate_subexp_standard’中:
eval.c:1705: 錯(cuò)誤:此函數(shù)中的‘subscript_array’在使用前可能未初始化
make[2]: *** [eval.o] 錯(cuò)誤 1
make[2]: Leaving directory `/home/gdb-6.8/gdb'
make[1]: *** [all-gdb] 錯(cuò)誤 2
make[1]: Leaving directory `/home/gdb-6.8'
make: *** [all] 錯(cuò)誤 2
請(qǐng)幫忙看一下怎么解決?
作者: T-Bagwell    時(shí)間: 2009-12-18 11:23
http://blog.chinaunix.net/u3/101042/showart_2060898.html

我一般不用gdbserver,直接nfs+gdb調(diào)試coredump
作者: jason_bj    時(shí)間: 2009-12-18 12:10
標(biāo)題: 我的調(diào)試的程序的占用內(nèi)存非常大,在目標(biāo)板上運(yùn)行不太夠,所以使用遠(yuǎn)程調(diào)試方式
我的調(diào)試的程序的占用內(nèi)存非常大,在目標(biāo)板上運(yùn)行不太夠,所以使用遠(yuǎn)程調(diào)試方式
作者: T-Bagwell    時(shí)間: 2009-12-18 12:27
那就邊一個(gè)target為mips試試吧
google一下,有很多教程
作者: jason_bj    時(shí)間: 2009-12-23 11:33
標(biāo)題: 看了許多教程
但都存在一些問(wèn)題,主要是我的gcc版本有些問(wèn)題,除非降版本
作者: T-Bagwell    時(shí)間: 2009-12-23 11:36
原帖由 jason_bj 于 2009-12-23 11:33 發(fā)表
但都存在一些問(wèn)題,主要是我的gcc版本有些問(wèn)題,除非降版本


交叉編譯器版本?




歡迎光臨 Chinaunix (http://72891.cn/) Powered by Discuz! X3.2