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

abccs@x263.net abccs@x263.net
Fri Feb 22 03:46:00 GMT 2002


I try to set breakpoint on "start" ,"hal_hardware_init" and "cyg_hal_invoke_constructors","start" and "hal_hardware_init" can stop,but "cyg_hal_invoke_constructors" cannt stop.
The examples program "hello" cannt run also.

follow is this result:

$ xscale-elf-gdb -nw hello
GNU gdb 4.18-xscale-010827
Copyright 2001 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.  This version of GDB is supported
for customers of Red Hat, Inc.  Type "show warranty" for details.
This GDB was configured as "--host=i686-pc-cygwin --target=xscale-elf"...
(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 start
Breakpoint 1 at 0xa0020098
(gdb) c

Breakpoint 1, 0xa0020098 in start ()
(gdb) b hal_hardware_init
Breakpoint 2 at 0xa0026bdc: file /ecos-e/jjp/ecos/packages/hal/arm/iq80310/curre
nt/src/iq80310_misc.c, line 91.
(gdb) c

Breakpoint 2, hal_hardware_init ()
    at /ecos-e/jjp/ecos/packages/hal/arm/iq80310/current/src/iq80310_misc.c:91
(gdb) b cyg_hal_invoke_constructors
Breakpoint 3 at 0xa0026b10: file /ecos-e/jjp/ecos/packages/hal/arm/arch/current/
src/hal_misc.c, line 192.
(gdb) c

----- 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-09 10:12:00
Subject: [ECOS] Re: >:Re: [ECOS] Cann't run the examples ,load and run problem

>abccs@x263.net wrote:
>> hi,
>> I try to set a breakpoint on "main",but it is same result.
>I was thinking of something a lot earlier than that, such as 
>"start" or "hal_hardware_init" or "cyg_hal_invoke_constructors"

>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
Tel:010-64262631 Fax:010-64240295 (c)1998-2001版权所有
263服务热线     263@263.net.cn  

More information about the Ecos-discuss mailing list