- 论坛徽章:
- 0
|
在arm板子上运行gdbserver, pc上运行arm-linux-gdb
pc上的信息:
[root@localhost ffmpeg-0.4.8]# arm-linux-gdb ffmpeg
GNU gdb 6.4
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu --target=arm-linux"...
(gdb) target remote 192.168.0.100:1234
Remote debugging using 192.168.0.100:1234
0x40002a90 in ?? ()
(gdb) r
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /usr/src/arm-linux/ffmpeg-0.4.8/ffmpeg
Don't know how to run. Try "help target".
(gdb) Quit
(gdb)
arm端信息:
/ffmpeg # gdbserver 192.168.0.250:1234 ffmpeg
Process ffmpeg created; pid = 70
Listening on port 1234
Remote debugging from host 192.168.0.250
Killing inferior
/ffmpeg #
list, break, continue, next 都可以用,但是也有一些错误信息。
run调试时肯定是要用的,弄了两天也没搞定,请各位高手帮忙
[ 本帖最后由 dida_327 于 2006-5-12 14:03 编辑 ] |
|