This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Problems with running applications
- To: Peter Blair <peterb at turnpikeglobal dot com>,eCos discussion <ecos-discuss at sources dot redhat dot com>
- Subject: Re: [ECOS] Problems with running applications
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Tue, 21 Aug 2001 20:36:48 +0100
- Organization: Red Hat UK Ltd.
- References: <8669764C0A96B640AE8A6F5BB7C259D955D3@turnpdcf1.home.turnpikeglobal.com>
[ CC the list in future please ]
Peter Blair wrote:
>
> I've tried that, and this time I attempted to connect without using
> insight--
>
> <--snip-->
> $ i386-elf-gdb -nw test.exe
> GNU gdb 5.0
> Copyright 2000 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you
> are
> welcome to change it and/or distribute copies of it under certain
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB. Type "show warranty" for
> details.
> This GDB was configured as "--host=i686-pc-cygwin --target=i386-elf"...
> (gdb) set remotebaud 38400
> (gdb) target remote com1
> Remote debugging using com1
> 0x97a8 in ?? ()
> at
> /ecos/ecos/packages/language/c/libc/startup/current/src/atexit.cxx:115
> 115 return 1; // failure
> (gdb)
> <--end snip-->
You haven't loaded the program yet! Type "load" in the command line, or
from GDB, use Run->Download. Even easier: Use File->Target Settings and
choose the "More Options" arrow and select "Attach to Target" and "Download
Program".
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