gqingf 发表于 2011-8-21 23:07:10

stepi命令出错, segmentation fault

skyeye 1.3.2 运行test_suite下的arm_hello程序
skyeye -e arm_hello -c skyeye.conf
然后start,run可以看到正确的打印hello_word
然后stop
stepi 100
输出:In skyeye_stepi,stopped_step=28880173
Segmentation fault
程序退出。
我的本意是stop后单步运行100条指令。请问stepi命令应该怎么用?
ubuntu 8.04系统

xq2537 发表于 2011-8-22 13:23:18

lee@localhost:~/skyeye-1.3.2/skyeye/testsuite/arm_hello$ /opt/skyeye/bin/skyeye -e arm_hello
SkyEye 1.3.2
SkyEye is an Open Source project under GPL. All rights of different parts or modules are reserved by their author. Any modification or redistributions of SkyEye should not remove or modify the annoucement of SkyEye copyright.
Get more information about it, please visit the homepage http://www.skyeye.org.
Type "help" to get command list.
In SKY_load_module, file not found

In SKY_load_all_modules, Can not load module from file libpycli.so.

(skyeye)start
arch: arm
cpu info: armv3, arm7tdmi, 41007700, fff8ff00, 0
In do_mach_option, mach info: name at91, mach_init addr 0x7ff0b4712d90

uart_mod:3, desc_in:, desc_out:, converter:
In create_uart_console
SKYEYE: use arm7100 mmu ops
exec file "arm_hello"'s format is elf64-x86-64.
load section .text: addr = 0x01000000size = 0x00000084.
load section .glue_7: addr = 0x01000084size = 0x00000000.
load section .glue_7t: addr = 0x01000084size = 0x00000000.
load section .data: addr = 0x01002000size = 0x00001000.
not load section .bss: addr = 0x01003000size = 0x00000000 .
not load section .debug_abbrev: addr = 0x00000000size = 0x0000004e .
not load section .debug_info: addr = 0x00000000size = 0x00000187 .
not load section .debug_line: addr = 0x00000000size = 0x000000a9 .
not load section .debug_pubnames: addr = 0x00000000size = 0x0000001c .
not load section .debug_aranges: addr = 0x00000000size = 0x00000020 .
In SIM_start, Set PC to the address 0x1000000

(skyeye)run
(running)stop
(skyeye)stepi 100
In skyeye_stepi, stopped_step=11199766

0x1000050:bne       
(skyeye)


系统用的是Ubuntu1004

gqingf 发表于 2011-8-22 14:17:51

是系统的问题。用ubuntu10.10没有问题。
谢谢。
页: [1]
查看完整版本: stepi命令出错, segmentation fault