public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Jesper Skov <jskov@cygnus.co.uk>
To: Ilan Ovadia <ilano@abstract.co.il>
Cc: ecos-discuss@sourceware.cygnus.com
Subject: Re: [ECOS] Running ECOS using the PPC simulator
Date: Mon, 26 Apr 1999 02:30:00 -0000	[thread overview]
Message-ID: <14116.12897.338880.502437@lassi.cygnus.co.uk> (raw)
In-Reply-To: <37242E45.FBE42C97@abstract.co.il>

>>>>> "Ilan" == Ilan Ovadia <ilano@abstract.co.il> writes:

Ilan> Hi, I've build an environment for the PowerPC using the
Ilan> configuration tool (PowerPC architecture, minimal simulator).

Using the default configuration?

Ilan> I tried to execute one of the tests by:
[snip]

Here's the GDB output when I do it:

lassi:> powerpc-eabi-gdb -nw install/tests/kernel/bin_sem0 
GNU gdb 4.17-ecos-98r1p4
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.  This version of GDB is supported
for customers of Cygnus Solutions.  Type "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu --target=powerpc-eabi"...
(gdb) target sim -f /local/ecc/ecc/ecc/hal/powerpc/sim/current/runtime/tree
Size of register r0 (0) incorrect (1 instead of 4))Connected to the simulator.
(gdb) load
(gdb) r
Starting program: /local/ecc/build/sim-powerpc/install/tests/kernel/bin_sem0 
PASS:<Binary Semaphore 0 OK>
EXIT:<done>

The warning about register size can be ignored.

Ilan> and the program never returned.

A program never returns. If you just want the GDB prompt back, you
could set a breakpoint at cyg_test_exit before starting the test.

Or you can break execution. When I press C-c after the above output, I
get:

Program received signal SIGINT, Interrupt.
cyg_test_exit () at /local/ecc/ecc/ecc/infra/current/src/tcdiag.cxx:100
100             ;
Current language:  auto; currently c++
(gdb) 



I don't see the problem you reported when running the clock0
test. Notice that the problematic address is in ROM space. The PowerPC
simulator can only run tests configured for the minimal simulator, and
these are normally loaded at address 0x4000. 

Perhaps you ran a test configured for the Cogent board by mistake?

Thanks,
Jesper

  parent reply	other threads:[~1999-04-26  2:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-04-26  2:13 Ilan Ovadia
1999-04-26  2:17 ` [ECOS] " Ilan Ovadia
1999-04-26  2:30 ` Jesper Skov [this message]
1999-04-26  3:34   ` [ECOS] " Ilan Ovadia
1999-04-26  3:44     ` Jesper Skov

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=14116.12897.338880.502437@lassi.cygnus.co.uk \
    --to=jskov@cygnus.co.uk \
    --cc=ecos-discuss@sourceware.cygnus.com \
    --cc=ilano@abstract.co.il \
    /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).