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]

=?big5?B?UXVlc3Rpb24gYWJvdXQgIkhlbGxvLGVDb3Mgd29y?==?big5?B?bGQhIg==?=


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/ 提供免費電子郵件信箱


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