This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: gdb debugging
- To: Jesper Skov <jskov at cambridge dot redhat dot com>
- Subject: Re: [ECOS] gdb debugging
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Wed, 04 Jul 2001 19:35:12 +0100
- Cc: raghunandan deshpande <raghunandana at hotmail dot com>,ecos-discuss at sources dot redhat dot com
- Organization: Red Hat UK Ltd.
- References: <F49avN3qljWwY0VnkB400000396@hotmail.com> <otsngdrsip.fsf@zoftcorp.adsl.dk>
Jesper Skov wrote:
>
> >>>>> "raghunandan" == raghunandan deshpande <raghunandana@hotmail.com> writes:
>
> raghunandan> hi, i'm trying to debug my app( its a ROM startup app)
> raghunandan> using arm-elf-gdb . i connect to the board using gdb
> raghunandan> remote protocol. when i issue the command file
> raghunandan> /opt/ecos/examples/serial , the gdb reads the symbol
> raghunandan> table entries. but after this when i type "run" gdb pops
> raghunandan> an error saying "you cant do that without a process to
> raghunandan> debug" have i not specified the process through the
> raghunandan> "file" command. what is the process that the gdb is
> raghunandan> referring to ? thanks
>
> How do you expect to be able to _download_ a ROM application? It is
> configured to run out of EPROM or flash. It cannot run from RAM, nor
> will you be able to debug it unless you are using a JTAG device.
And to answer the inevitable followup question :-). A downloaded _RAM_
startup application is executed using the "continue" command, not "run".
This is all in the docs.
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
Come to the Red Hat TechWorld open source conference in Brussels!
Keynotes, techie talks and exhibitions http://www.redhat-techworld.com/