public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: cguwinds <cguwinds@mail2000.com.tw>
To: ecos-discuss <ecos-discuss@sources.redhat.com>
Subject: [ECOS] Question about "Hello,eCos world!"
Date: Tue, 31 Jul 2001 08:29:00 -0000	[thread overview]
Message-ID: <996593350.77390.cguwinds@mail2000.com.tw> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1163 bytes --]

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

             reply	other threads:[~2001-07-31  8:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-31  8:29 cguwinds [this message]
2001-07-31  8:50 ` Jonathan Larmour
2001-07-31  9:08 ` Trenton D. Adams
2001-07-31 23:49 cguwinds
2001-08-01  8:58 ` Jonathan Larmour

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=996593350.77390.cguwinds@mail2000.com.tw \
    --to=cguwinds@mail2000.com.tw \
    --cc=ecos-discuss@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).