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]

Re: gdb debugging


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/


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