public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Fabrice Gautier <Fabrice_Gautier@sdesigns.com>
To: 'Nick Garnett' <nickg@cygnus.co.uk>, ecos-discuss@sourceware.cygnus.com
Subject: RE: [ECOS] Multi thread Debugging
Date: Thu, 31 Aug 2000 15:31:00 -0000	[thread overview]
Message-ID: <8AE4B526B977D411841F00A0CC334020052C3A@cuz-exchange.sdesigns.net> (raw)

> -----Original Message-----
> From: Nick Garnett [ mailto:nickg@cygnus.co.uk ]
> Subject: Re: [ECOS] Multi thread Debugging
> 
> All your observations are correct. The main problem is that thread
> saved contexts and interrupt saved contexts are different. In all
> other HALs they are the same. I suspect that the simplest fix for now
> is to change the format of the HAL_SavedRegisters structure to echo
> that pushed by "pusha" and replace the "movl"s in context.S with
> "pusha" and "popa". Then most references to this structure will work
> as intended (give or take a few fixes elsewhere).

I fear this is not so simple.

There is a problem too with exception handling. This is critical because of
the handling of the INT3 debug exception.

It seems that in the current design (refering to plf_stub.c) the register
are saved to a structure when an INT3 occurs. And this structure does not
match any other of our context structures...

Exception handling in the stub is not handled in the way the Interrupts
are...(The exceptions are not handled by the kernel, only by the stub it
seems)

Thanks

-- 
Fabrice Gautier
fabrice_gautier@sdesigns.com 

             reply	other threads:[~2000-08-31 15:31 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-08-31 15:31 Fabrice Gautier [this message]
2000-09-01  2:55 ` Nick Garnett
  -- strict thread matches above, loose matches on Subject: below --
2000-09-01 14:18 Fabrice Gautier
2000-08-31 18:54 Fabrice Gautier
2000-09-01  3:12 ` Nick Garnett
2000-08-31  3:56 Fabrice Gautier
2000-08-30 19:56 Fabrice Gautier
2000-08-31  4:15 ` Nick Garnett
2000-08-30 16:39 Fabrice Gautier
2000-08-25 12:06 Fabrice Gautier
2000-08-25 11:18 Fabrice Gautier
2000-08-25 11:38 ` Jonathan Larmour
2000-08-23 14:53 Fabrice Gautier
2000-08-24  7:17 ` Jonathan Larmour
2000-08-21 19:15 Fabrice Gautier
2000-08-15 12:00 Fabrice Gautier

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=8AE4B526B977D411841F00A0CC334020052C3A@cuz-exchange.sdesigns.net \
    --to=fabrice_gautier@sdesigns.com \
    --cc=ecos-discuss@sourceware.cygnus.com \
    --cc=nickg@cygnus.co.uk \
    /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).