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



Yep, I've be asking them, but it is hard talking to yourself and it is
freaking out people around my cube!

Anyway, some other clues:
- in gdb, when the continue command is issues, the downloaded image is not
executed.  I'm using a ICE to help debug this problem.

I'm now looking into generic_stub and start tracing using the ICE to see
what the issue is, any clues?
-----Original Message-----
From: Jonathan Larmour [mailto:jlarmour@redhat.com]
Sent: Thursday, April 11, 2002 9:37 PM
To: Ecos Temp
Cc: 'ecos-discuss@sources.redhat.com'
Subject: Re: [ECOS] 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]