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

The problem is while I'm running the bin_sem0 test
I don't get the message

PASS:<Binary Semaphore 0 OK>
EXIT:<done>

Actually, when I set breakpoints in the functions
located in bin_sem0 file, the debugger doesn't stop.
It seems like  ECOS doesn't succeed to complete
the initialization phase and run the test.

Regards
Ilan


Jesper Skov wrote:

> >>>>> "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



--
------------------------------------------------------------------------
                            Ilan Ovadia
                            Abstract Ltd.
                            57A Stern St.
                            Kiryat Ono, Israel, 55602
                            Tel: 972-3-6051304
                            Fax: 972-3-6051156
                            MP: 972-51-522592
                            Email: ilano@abstract.co.il
-------------------------------------------------------------------------


  reply	other threads:[~1999-04-26  3:34 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 ` [ECOS] " Jesper Skov
1999-04-26  3:34   ` Ilan Ovadia [this message]
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=37244183.1D796CCA@abstract.co.il \
    --to=ilano@abstract.co.il \
    --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).