From: "Russ Cox" <rsc@swtch.com>
To: fernanbolando@mailc.net, 9fans@9fans.net
Subject: Re: [9fans] signal.h in APE for newbies
Date: Fri, 4 Jul 2008 11:54:04 -0400 [thread overview]
Message-ID: <20080704155159.C61A41E8C26@holo.morphisms.net> (raw)
In-Reply-To: <1d5d51400807040717xbf9fbf7v7466ae0394b77255@mail.gmail.com>
> Any chance this is some 9vx issue? I tried the test code below it
> worked in 9grid.jp ,but gave the following message in 9vx
You are caught in quite a tangled web.
The hardware gets a floating point trap,
Linux/BSD/OS X turns it into a SIGFPE,
vx32 turns it back into a hardware trap,
Plan 9 turns it into a note,
APE turns it back into a SIGFPE.
Unfortunately for you, vx32 does not do
a very good job turning SIGFPEs into the
correct hardware trap. Someone needs to
go through the various systems and figure
out what the right mapping is from
info->si_code back to x86 exception code.
When I started to do this, I got very confused
and didn't care enough to muddle through.
Russ
next prev parent reply other threads:[~2008-07-04 15:54 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-04 8:17 Fernan Bolando
2008-07-04 9:59 ` Charles Forsyth
[not found] ` <a85d07977219d1010dd930280d4b013e@terzarima.net>
2008-07-04 14:17 ` Fernan Bolando
2008-07-04 15:54 ` Russ Cox [this message]
2008-07-04 17:19 ` Charles Forsyth
2008-07-04 17:21 ` erik quanstrom
2008-07-04 18:04 ` Charles Forsyth
2008-07-04 18:14 ` erik quanstrom
2008-07-04 19:22 ` Russ Cox
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=20080704155159.C61A41E8C26@holo.morphisms.net \
--to=rsc@swtch.com \
--cc=9fans@9fans.net \
--cc=fernanbolando@mailc.net \
/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 NNTP newsgroup(s).