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: question about using gdb and reboot loading an application


Ecos Temp wrote:
> 
>         I'm a little confused on loading and debugging a program using
>         GDB. I do the following:
> 
>         Remote debugging using COM1
>         0xe454 in ?? ()
>         (gdb) load
>         Loading section .rom_vectors, size 0x40 lma 0x40000
>         Loading section .text, size 0x2788c lma 0x40040
>         Loading section .rodata, size 0xbda lma 0x678cc
>         Loading section .data, size 0xab0 lma 0x684a8
>         Start address 0x40040 , load size 167766
>         Transfer rate: 27390 bits/sec, 306 bytes/write.
>         (gdb)
> 
>         Ok once the image is loaded how do you start it executing?  I
> tried using c for continue and it never outputs?  Also I inserted break
> points and they never triggered.  so what could I be doing wrong?

Nothing I can see. Where did you set the breakpoints? Anywhere early in the
startup? e.g. cyg_hal_invoke_constructors?

>        Platform: SVX (ARM 7TDMI)

If someone else did this port (who?) ask them! It certainly wasn't Red Hat.

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

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


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