This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [Patch] x % 0 hangs
Date: Mon, 28 Jun 2004 10:25:26 -0400
From: Andrew Cagney <cagney@gnu.org>
We need start with a working assumption that GDB is being run on POSIX
compliant systems and that implies a working sigsetjmp / siglongjmp.
Only when someone comes forward with a problematic system should we
worry about it (and possibly not even then).
Sorry, but I don't think fully POSIX compliant systems do actually
exist. We should aim to have a working GDB on as many systems that
are in somewhat wide use as possible. At the very minimum we should
support the latest official release of the GNU systems and other major
Free OS'es out there.
(BTW, the other way to handle this is to implement a s/w emulation of
the inferior's arithmetic, that would never throw a SIGFPE).
Yes!
Mark