From: Jonathan Larmour <jlarmour@redhat.co.uk>
To: "amassa@cts.com" <amassa@cts.com>
Cc: ecos-discuss@sourceware.cygnus.com
Subject: [ECOS] Re:
Date: Mon, 12 Jun 2000 10:05:00 -0000 [thread overview]
Message-ID: <39451871.9429C368@redhat.co.uk> (raw)
In-Reply-To: <200006121700.KAA15361@batman.cts.com>
"amassa@cts.com" wrote:
> I all of the tests from the ecos configuration program and found that the
> intr0.exe was the only one that would consistently fail. Do you know what
> could cause this?
>
> Occasionally, I would get a message:
>
> Program received signal SIGILL, Illegal instruction.
>
> What does this message mean?
It means the CPU tried to run an instruction that isn't a real instruction.
Is it repeatable? It may indicate a hardware memory corruption problem if
it is random.
> Then I ran the twothreads example on my MBX target board and it seems like
> it ran through the two threads once and then tried to exit the program. The
> output is below. I can't seem to get the example programs to run properly.
> Do you know why the threads may be descheduling and the program exiting?
>
> Entering twothreads' cyg_user_start() function
> Beginning execution; thread data is 0
> Beginning execution; thread data is 1
>
> Breakpoint 1, __libc_exit (status=286326805) at
> //D/PROGRA~1/REDHAT~1/eCos/packages/language/c/libc/v1_3_1/src/stdlib/exit.cxx:82
> Current language: auto; currently c++
You have a breakpoint set on "exit", but since the twothreads program
doesn't have a "main", the default libc-defined main is run instead, and
that just calls exit straight away.
Simply don't set a breakpoint on exit and forget about it :-).
Jifl
--
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow." || These opinions are all my own fault
next parent reply other threads:[~2000-06-12 10:05 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200006121700.KAA15361@batman.cts.com>
2000-06-12 10:05 ` Jonathan Larmour [this message]
[not found] <20021221135742.066511C73067A@sm204.163.com>
2002-12-21 11:45 ` Gary Thomas
[not found] <200310281454.GAA00597@friend.incoop.net>
2003-10-28 15:08 ` Gary Thomas
2003-10-29 12:32 Doug Fraser
[not found] <20050404052142.475.qmail@webmail17.rediffmail.com>
2005-04-05 16:03 ` Jonathan Larmour
2012-03-21 13:35 Bob
[not found] <CAPkEfga-coX6ONW_EZVAJJAAib=aiprHNa_ahoCjpmj5Uk89iA@mail.gmail.com>
2013-01-21 4:41 ` Anthony Tonizzo
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=39451871.9429C368@redhat.co.uk \
--to=jlarmour@redhat.co.uk \
--cc=amassa@cts.com \
--cc=ecos-discuss@sourceware.cygnus.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).