This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

>:Re: Cann't run the examples ,load and run problem



hi,
I try to set a breakpoint on "main",but it is same result.

$ xscale-elf-gdb -nw hello
(gdb) set remotebaud 115200
(gdb) target remote com1
Remote debugging using com1
0x18bcc in ?? ()
(gdb) load
Loading section .rom_vectors, size 0x40 lma 0xa0020000
Loading section .text, size 0xbefc lma 0xa0020040
Loading section .rodata, size 0x4e0 lma 0xa002bf3c
Loading section .data, size 0x454 lma 0xa002c41c
Start address 0xa0020040 , load size 51312
Transfer rate: 82099 bits/sec, 296 bytes/write.
(gdb) b main
(gdb) c
Continuing.

In this time,the gdb seemto dead.




----- Original Message -----
From: "Jonathan Larmour" <jlarmour@redhat.com>
To: "mailing list" <ecos-discuss@sources.redhat.com>
Cc: <ecos-discuss@sources.redhat.com>
Sent: 2002-02-08 10:25:59
Subject: Re: [ECOS] Cann't run the examples ,load and run problem






>abccs@x263.net wrote:
>> 
>> hi,
>> I use the iq80310 board.When I load the "hello" example program ,it cann't run,and have no response.
>> I use win2k,cygwin ecos 1.3.net.The information is following:
>> 
>> $ xscale-elf-gdb -nw hello
>> (gdb) set remotebaud 115200
>> (gdb) target remote com1
>> Remote debugging using com1
>> 0x18bcc in ?? ()
>> (gdb) load
>> Loading section .rom_vectors, size 0x40 lma 0xa0020000
>> Loading section .text, size 0xbefc lma 0xa0020040
>> Loading section .rodata, size 0x4e0 lma 0xa002bf3c
>> Loading section .data, size 0x454 lma 0xa002c41c
>> Start address 0xa0020040 , load size 51312
>> Transfer rate: 82099 bits/sec, 296 bytes/write.
>> (gdb) c
>> Continuing.
>> 
>> The program is dead in this point and have no any response.
>
>Try setting breakpoints at points near the start of the program's startup
>to see if it is reached.
>
>The 0xa00000000 addresses are correct. Don't change them to 0x0.
>
>Jifl
>-- 
>Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
>Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine



欢迎使用263天下邮免费信箱 http://freemail.x263.net
welcome to enjoy 263 Freemail http://freemail.x263.net
_____________________________________________________
		263在线_中国人的网上家园
Tel:010-64262631 Fax:010-64240295 (c)1998-2001版权所有
263服务热线     263@263.net.cn  



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]