Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Daniel Jacobowitz <drow@false.org>
Cc: pedro_alves@portugalmail.pt, muller@ics.u-strasbg.fr,
	        gdb-patches@sourceware.org
Subject: Re: [RFC] win32-nat.c: Handle EXCEPTION_INVALID_HANDLE as SIGSYS
Date: Wed, 24 Oct 2007 20:15:00 -0000	[thread overview]
Message-ID: <uk5pctgpt.fsf@gnu.org> (raw)
In-Reply-To: <20071024193735.GG10943@caradoc.them.org> (message from Daniel 	Jacobowitz on Wed, 24 Oct 2007 15:37:35 -0400)

> Date: Wed, 24 Oct 2007 15:37:35 -0400
> From: Daniel Jacobowitz <drow@false.org>
> Cc: Pedro Alves <pedro_alves@portugalmail.pt>, muller@ics.u-strasbg.fr,
> 	gdb-patches@sourceware.org
> 
> > I think it's a good idea.  In my experience, any serious program that
> > wants to handle signals and exceptions on Windows cannot avoid
> > supporting a large number of important EXCEPTION_* exceptions, because
> > unlike on Posix platforms, most of them are not translated into SIG*
> > style signals, at least in native Windows programs (as opposed to
> > Cygwin).
> 
> If whoever works on this is feeling ambitious, I would prefer a
> solution that is not too tightly linked to Windows.  I've worked with
> at least two different embedded developers this past year who were
> confused by the need to map platform-specific exceptions onto Unix
> signals.  An embedded PowerPC developer is likely to have a much
> better idea what's going on if we tell him that his code triggered
> a Machine Check Exception than if we report SIGBUS.

I agree.

(Actually, a careful reading of what I wrote would show that I never
suggested to do such a mapping, I just said that it isn't done by the
underlying library.)


  reply	other threads:[~2007-10-24 20:12 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-22 14:14 Pierre Muller
2007-10-22 21:15 ` Eli Zaretskii
2007-10-23 22:06 ` Christopher Faylor
2007-10-23 22:26   ` Daniel Jacobowitz
2007-10-24  5:21   ` Eli Zaretskii
2007-10-24  8:40     ` Pierre Muller
2007-10-24 19:07       ` Eli Zaretskii
2007-10-24 11:47     ` Pedro Alves
2007-10-24  8:13   ` Pierre Muller
2007-10-24  8:51     ` Pedro Alves
2007-10-24 19:19       ` Eli Zaretskii
2007-10-24 19:37         ` Mark Kettenis
2007-10-24 19:40         ` Daniel Jacobowitz
2007-10-24 20:15           ` Eli Zaretskii [this message]
2007-10-29  8:25           ` Christopher Faylor
2007-10-29  3:07       ` Christopher Faylor

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=uk5pctgpt.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=drow@false.org \
    --cc=gdb-patches@sourceware.org \
    --cc=muller@ics.u-strasbg.fr \
    --cc=pedro_alves@portugalmail.pt \
    /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