[ECOS] =?big5?B?UXVlc3Rpb24gYWJvdXQgIkhlbGxvLGVDb3Mgd29y?==?big5?B?bGQhIg==?=

cguwinds cguwinds@mail2000.com.tw
Tue Jul 31 08:29:00 GMT 2001


After runing the following command ,"run",under the gdb command line,
I can't see "Hello,eCos world!".
Why Segmentation fault? 
How to solve it?
Does it matter to Makefile of hello.c??
(Getting Started with eCos ,P70)
(My target is i386 pc , platform is Linux)

=========================================
[root@localhost examples]# gdb -nw a.out
GNU gdb 19991004
Copyright 1998 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 "i386-redhat-linux"...
(gdb) run
Starting program: /opt/ecos/ecos-1.3.1/examples/a.out

Program received signal SIGSEGV, Segmentation fault.
0x10000 in _stext ()
(gdb)

============================================

The last line is in the gdb mode,but I don't know what is the next step that I should do.
Can anyone tell me?
Thanks.


----== Mailed via Openfind ==-----
http://mail2000.com.tw/ ´£¨Ñ§K¶O¹q¤l¶l¥ó«H½c



More information about the Ecos-discuss mailing list