ucguinuaa 发表于 2008-7-11 16:11:25

请帮忙看看是什么问题 死在loaded rom里面了

# ~/incoming/skyeye-v1/binary/skyeye -e linux-2.4.x/linux
arch: arm
cpu info: armv3, arm7tdmi, 41007700, fff8ff00, 0
mach info: name at91, mach_init addr 0x807294c
SKYEYE: use arm7100 mmu ops
Loaded ROM   images/romfs.img
段错误
# ~/incoming/skyeye-v1/binary/skyeye -d linux-2.4.x/linux
debugmode= 1, filename = (null), server TCP port is 12345
SKYEYE: If you have ELF kernel file, please use -e option to indicate your ELF format kernel filename
SKYEYE: If you only have kernel binary image, you should put the filename of kernel binary image in skyeye.conf file
Non-option argument linux-2.4.x/linux
arch: arm
cpu info: armv3, arm7tdmi, 41007700, fff8ff00, 0
mach info: name at91, mach_init addr 0x807294c
SKYEYE: use arm7100 mmu ops
Loaded ROM   images/romfs.img
~~后面就死在这里了

请问是什么问题?
跟我使用虚拟机的linux系统有没有关系哈??

ksh 发表于 2008-7-11 17:59:15

运行 gdb ~/incoming/skyeye-v1/binary/skyeye
然后在gdb中填入: set args -e linux-2.4.x/linux
然后运行: run
查看一下运行结果。。。。

libra82 发表于 2008-11-25 09:11:06

(gdb) set args -e image.bin
(gdb) run
Starting program: /home/guan/1/skyeye -e image.bin
Your elf file is little endian.
arch: arm
cpu info: armv3, arm7tdmi, 41007700, fff8ff00, 0
mach info: name at91, mach_init addr 0x805bd28
uart_mod:0, desc_in:, desc_out:, converter:
SKYEYE: use arm7100 mmu ops
Loaded ROM   ./romfs.img

Program received signal SIGSEGV, Segmentation fault.
0x4207a42b in strlen () from /lib/tls/libc.so.6
(gdb)

我得到的结果,然后怎么做?是什么原因?
redhat9 skyeye1.2.5

[ 本帖最后由 libra82 于 2008-11-25 09:16 编辑 ]

ksh 发表于 2008-11-25 10:47:52

然后可以运行:
backstrace

还有多看一些gdb的命令和调试
页: [1]
查看完整版本: 请帮忙看看是什么问题 死在loaded rom里面了