- 论坛徽章:
- 0
|
[wang@wang shellscript]$ /usr/local/arm-linux/bin/arm-linux-gdb -q
(gdb) file /home/wang/master/master.exe
Reading symbols from /home/wang/master/master.exe...done.
(gdb) target remote 192.168.1.203:2323
Remote debugging using 192.168.1.203:2323
Cannot access memory at address 0x0
0x40001b80 in ?? ()
(gdb)
(gdb) info b
No breakpoints or watchpoints.
(gdb) bt
#0 0x40001b80 in ?? ()
Cannot access memory at address 0x0
(gdb) c
Continuing.
Program received signal SIGSEGV, Segmentation fault.
Cannot access memory at address 0x5a4
0x40046ca4 in ?? ()
(gdb) Quit
(gdb) q
The program is running. Exit anyway? (y or n) y
[wang@wang shellscript]$
然后在设备上只有/proc/sys/net/core
本地文件夹 shellscript 和/home/wang/master里面 都没有 /usr/local/arm-linux/bin 里面也没有
怎么回事?
[wang@wang shellscript]$ ulimit -a
core file size (blocks, -c) unlimited
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 2560
max locked memory (kbytes, -l) 32
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 10240
cpu time (seconds, -t) unlimited
max user processes (-u) 2560
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
[ 本帖最后由 wang9736 于 2007-9-12 17:54 编辑 ] |
|