This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
GDB problem
- To: <ecos-discuss at sources dot redhat dot com>
- Subject: [ECOS] GDB problem
- From: "Tony Ko" <nhko at gctsemi dot com>
- Date: Mon, 16 Jul 2001 14:37:44 +0900
hi.
look at the script below,
[root -root]#powerpc-eabi-gdb -nw wcdma_test
GNU gdb 5.0
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and
you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "--host=i686-pc-linux-gnu --target=powerpc-
eabi"...
(gdb) set remotebaud 38400
(gdb) target remote /dev/ttyS0
Remote debugging using /dev/ttyS0
0xfe00b39c in ?? ()
(gdb) load
Loading section .vectors, size 0x2000 lma 0x10000
Loading section .text, size 0x30ae8 lma 0x12000
Loading section .rodata, size 0x2e10 lma 0x42ae8
Loading section .data, size 0xf14 lma 0x458f8
Start address 0x10100 , load size 223244
Transfer rate: 27059 bits/sec, 509 bytes/write.
(gdb) r
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /mbxecos/ecos-1.3.1/tests/ap/v1_3_1/tests/wcdma_test
Don't know how to run. Try "help target".
(gdb)
my question is why "run" command does not operate properly.
instead of "run", "continue" command works. program runs by "continue".
so what's for "run" command?
and what's the difference between "run" and "continue"?
thanks in advance.
Tony