public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: "Lewin A.R.W. Edwards" <larwe@larwe.com>
To: Jonathan Larmour <jlarmour@redhat.com>
Cc: ecos-discuss@sources.redhat.com
Subject: Re: [ECOS] More information on crash with CVS sources
Date: Tue, 13 Feb 2001 20:38:00 -0000	[thread overview]
Message-ID: <4.3.2.7.2.20010213203638.00ad0f00@larwe.com> (raw)
In-Reply-To: <3A89E08F.8A95AC0B@redhat.com>

Hi Jonathan,

> > By stepping the program, I've subsequently found that my crash problem
> > (with anoncvs app running on top of 1.3.1 stubs) occurs when the app
> > first tries to printf something. I guess I can fix this by disabling
> > virtual vectors in the app?
> > But it still doesn't explain why I'm not able to run an app on top of
> > the anoncvs-built stubs.
>
>Jesper just checked in a whole bunch of changes to do with virtual vectors.
>When does your anoncvs checkout date from?

It's from... hmmm... last Friday or Thursday maybe (I'm booted to Windows 
right now... can't check). I'll update tomorrow morning then look into a 
patch Gary sent me.

However, in further news, I built a little test proglet that consists of 
just a cyg_user_start that does a printf [and nothing else] and a main() 
that also does a printf.

In 1.3.1, it is seemingly not necessary to explicitly create and start a 
thread. cyg_user_start enables interrupts, and then control passes to 
main(). So my program at the moment runs in main() [since it was ported 
from a different OS].

When I compile the above test prog with anoncvs everything, I get the 
printf from cyg_user_start but not the one from main; after the printf("hi 
from cyg_user_start") I get an exception at 0xfffffffc. So I assume the 
1.3.1 behavior I describe above is no longer true and that I must 
explicitly start a thread for my main application task.

It doesn't completely explain why I can't get the anoncvs app to run on 
anoncvs stubs, though - I never even get the "new thread 0 created" message 
or the cyg_user_start message. Bizarre.
=== Lewin A.R.W. Edwards (Embedded Engineer)
Work: http://www.digi-frame.com/
Personal: http://www.zws.com/ and http://www.larwe.com/

"Und setzet ihr nicht das Leben ein,
Nie wird euch das Leben gewonnen sein."

  reply	other threads:[~2001-02-13 20:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-13 12:42 Lewin A.R.W. Edwards
2001-02-13 17:34 ` Jonathan Larmour
2001-02-13 20:38   ` Lewin A.R.W. Edwards [this message]
2001-02-14 13:50     ` Jonathan Larmour
2001-02-15  6:31       ` Lewin A.R.W. Edwards

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=4.3.2.7.2.20010213203638.00ad0f00@larwe.com \
    --to=larwe@larwe.com \
    --cc=ecos-discuss@sources.redhat.com \
    --cc=jlarmour@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).