This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Performance measurement
- From: Gary Thomas <gary at chez-thomas dot org>
- To: Christer Kaivo-oja <christer dot kaivo at kvaser dot se>
- Cc: Andrew Lunn <andrew dot lunn at ascom dot ch>,eCos Discussion <ecos-discuss at sources dot redhat dot com>
- Date: 05 Jun 2002 07:06:36 -0600
- Subject: Re: [ECOS] Performance measurement
- References: <200206050926.g559Qd126562@rubicon.hasler.ascom.ch><200206051036.g55Aalb04921@ascomax.hasler.ascom.ch><20020605114550.GQ4215@biferten.ma.tech.ascom.ch> <20020605130320.9BB927D2@hermes.chez-thomas.org>
On Wed, 2002-06-05 at 07:04, Christer Kaivo-oja wrote:
> On Wednesday 05 June 2002 13.45, you wrote:
> > On Wed, Jun 05, 2002 at 12:38:16PM +0200, Christer Kaivo-oja wrote:
> > > On Wednesday 05 June 2002 11.27, you wrote:
> > > > The program is tm_basic. Its in the kernel tests directory.
> > > >
> > > > Andrew
> > >
> > > Thank you very much.... Now the world is back to normal.. I'm having
> > > problems again... ;)
> > >
> > > I am able to run some of the kernel tests just fine (loading them using
> > > the gdb stub I have up and running), but when I try to run the tm_basic
> > > test, I get a SIGTRAP even before the startup breakpoint. The cygstart of
> > > tm_basic doesn't get called at all for some reason.. Any ideas on what it
> > > might be?
> >
> > Decode the sigtrap information. It should give you an program counter
> > at least. You can then work out what function it was in at the
> > time. That should give you some clues.
> >
> > tm_basic is probably not the best program for debugging a HAL. Its
> > probably the most compless. I would get all the other test programs
> > working first. Run the hal/common onces first, then the kernel ones.
>
> Well, all the other tests run just fine... Where can I find info on how to
> decode the sigtrap?
What's the platform?
Can you send the exact output from GDB (I'm assuming that you run it
from GDB)?
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss