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: Problems with running applications


[ 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


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