AW: [ECOS] bootloader into the gdb_module stabs

Jonathan Larmour jlarmour@redhat.com
Tue Mar 27 23:31:00 GMT 2001


Hansjörg Petriffer wrote:
> 
> I think that the program loading is happen into __process_packet, is this
> right? Is the program start called from the gdb_module or from the remote
> computer?

Sort of. The description I gave is more accurate. All __process_packet does
is interpret memory write commands from GDB.

The program is started by GDB setting the PC in the saved register context,
and then instructing the stub to start the program (which is done by
returning from the stub, which restores the context).

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



More information about the Ecos-discuss mailing list