Menu

#113 a segment fault , when use remote-gdb command break in skyeye

HEAD
open
nobody
None
5
2013-07-09
2013-07-09
zymingfit
No

when i use remtoe-gdb in skyeye, command break cause a segment fault, as below :

On the server side:
zyuming@zyuming-desktop:~/test/am355x_test$ ls
core file instructions skyeye.conf TestDemo.bin TestDemo.elf TestDemo.map TestDemo.out TestDemo.S
zyuming@zyuming-desktop:~/test/am355x_test$ /opt/skyeye/bin/skyeye
SkyEye 1.3.5
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 Linux OS
(skyeye) start
1 core is initialized.
In add_to_default_cell Line 136
Waiting for connection to term0:45311
Waiting for connection to term1:45916
load elf TestDemo.out succeed
(skyeye) remote-gdb
Listen seccess for connect!
(skyeye) Wait for client connect
Remote debugging using host:12345
readchar: Got EOF
Remote side has terminated connection. GDBserver will reopen the connection.
Listen seccess for connect!

On the client side:
zyuming@zyuming-desktop:~/test/am355x_test$ ~/zym/gdb/gdb-7.2/gdb/gdb TestDemo.out
GNU gdb (GDB) 7.2
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu --target=arm-linux".
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/...
Reading symbols from /home/zyuming/test/am355x_test/TestDemo.out...done.
(gdb) target remote:12345
Remote debugging using :12345
Entry () at ../Hardware/Hardware_FPGA59/PlatDrv/init.asm:97
97 ../Hardware/Hardware_FPGA59/PlatDrv/init.asm: 没有那个文件或目录.
in ../Hardware/Hardware_FPGA59/PlatDrv/init.asm
Trace is already running on the target.
(gdb) break main
段错误

Discussion


Log in to post a comment.