From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Tony Ko" To: Subject: [ECOS] GDB problem Date: Sun, 15 Jul 2001 22:37:00 -0000 Message-id: <9860C773D04D834D83FD6FAD00A61E930F202A@gctsemi.gctsemi.com> X-SW-Source: 2001-07/msg00459.html 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