QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2126|回复: 2

stepi命令出错, segmentation fault

[复制链接]
发表于 2011-8-21 23:07:10 | 显示全部楼层 |阅读模式
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系统
发表于 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 = 0x01000000  size = 0x00000084.
load section .glue_7: addr = 0x01000084  size = 0x00000000.
load section .glue_7t: addr = 0x01000084  size = 0x00000000.
load section .data: addr = 0x01002000  size = 0x00001000.
not load section .bss: addr = 0x01003000  size = 0x00000000 .
not load section .debug_abbrev: addr = 0x00000000  size = 0x0000004e .
not load section .debug_info: addr = 0x00000000  size = 0x00000187 .
not load section .debug_line: addr = 0x00000000  size = 0x000000a9 .
not load section .debug_pubnames: addr = 0x00000000  size = 0x0000001c .
not load section .debug_aranges: addr = 0x00000000  size = 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
回复

使用道具 举报

 楼主| 发表于 2011-8-22 14:17:51 | 显示全部楼层
是系统的问题。用ubuntu10.10没有问题。
谢谢。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-21 20:24 , Processed in 0.107759 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表