This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: question about using gdb and reboot loading an application
- From: Jonathan Larmour <jlarmour at redhat dot com>
- To: Ecos Temp <ecos1 at sorensontech dot com>
- Cc: "'ecos-discuss at sources dot redhat dot com'" <ecos-discuss at sources dot redhat dot com>
- Date: Fri, 12 Apr 2002 04:36:58 +0100
- Subject: Re: [ECOS] question about using gdb and reboot loading an application
- References: <6E031E06378BD311AEF20090273CE1BAF69D2D@el-postino.s-vision.com>
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