This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: gdb error when loading an application a second time
- From: Gary Thomas <gary at mlbassoc dot com>
- To: kneep <kneep at sh dot askey dot com dot tw>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Thu, 08 Jul 2004 06:12:47 -0600
- Subject: Re: [ECOS] gdb error when loading an application a second time
- Organization: MLB Associates
- References: <40ED38D7.4010009@sh.askey.com.tw>
On Thu, 2004-07-08 at 06:06, kneep wrote:
> Hi list.
>
> Here is my problem:
>
> =======================================
> # xscale-elf-gdb -nw hello
> (gdb) target remote 10.8.1.117:9000
> Remote debugging using 10.8.1.117:9000
> 0x5000ee44 in ?? ()
> (gdb) load
> Loading section .rom_vectors, size 0x40 lma 0x20000
> Loading section .text, size 0x83a8 lma 0x20040
> Loading section .rodata, size 0x358 lma 0x283e8
> Loading section .data, size 0x36c lma 0x28740
> Start address 0x20040, load size 35500
> Transfer rate: 284000 bits/sec, 300 bytes/write.
> (gdb) c
> Continuing.
> Hello, eCos world!
> =======================================
>
> Here everything goes well.
> Ctrl-C and kill and quit gdb.
>
> Then the second time I load another applicaiton.
>
> =======================================
> #xscale-elf-gdb -nw twothreads
> (gdb) target remote 10.8.1.117:9000
> Remote debugging using 10.8.1.117:9000
> 0x5000ee44 in ?? ()
> (gdb) load
> Loading section .rom_vectors, size 0x40 lma 0x20000
> Loading section .text, size 0xbd7c lma 0x20040
> Ignoring packet error, continuing...
> Ignoring packet error, continuing...
> Ignoring packet error, continuing...
> Ignoring packet error, continuing...
> Ignoring packet error, continuing...
> Ignoring packet error, continuing...
> Ignoring packet error, continuing...
> ......
> =======================================
>
> The error msg will never stop.
> It only happened when loading a different application at the second time.
> Anyone can help?
> Thanks in advance.
Was the board reset between these two runs? If not, try that.
--
Gary Thomas <gary@mlbassoc.com>
MLB Associates
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss