|
发表于 2011-8-21 16:49:02
|
显示全部楼层
我在ubuntu1004上测了一下你的测试用例,没有重现你的错误:
lee@localhost:~/test/test_hello$ ~/gdb/gdb-7.1-realse/bin/arm-linux-gdb hello
GNU gdb (GDB) 7.1
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=x86_64-unknown-linux-gnu --target=arm-linux".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/lee/test/test_hello/hello...done.
(gdb) target remote :12345
Remote debugging using :12345
begin () at start.S:21
21 mov r0, #I_BIT|MODE_SVC
(gdb) b hello
Breakpoint 1 at 0x31000024: file hello.c, line 27.
(gdb) c
Continuing.
Breakpoint 1, hello () at hello.c:27
27 * paddr=hellostr;
(gdb) n
25 for(i=0;i<10;i++)
Breakpoint 1, hello () at hello.c:27
27 * paddr=hellostr;
(gdb)
skyeye官方只支持ubuntu和windows,您要不换一下ubuntu吧? |
|