Commit Graph

22 Commits

Author SHA1 Message Date
florian
7281ea7a2c * floating point division by zero should throw run time error 208, fixed
git-svn-id: trunk@46210 -
2020-08-03 19:42:16 +00:00
pierre
abef064786 Adapt TSigContext to structure found by debugging
git-svn-id: trunk@22482 -
2012-09-27 15:49:13 +00:00
pierre
645698183d Integer Overflow signal must be mapped to error 215, not 205, which is for floating point overflow
git-svn-id: trunk@21807 -
2012-07-06 15:54:45 +00:00
daniel
3307d98c40 - Revert micro-exe mode for now.
git-svn-id: trunk@16170 -
2010-10-15 16:49:48 +00:00
daniel
2139a229d3 + If no unit is used, no symbol inside the system unit is used,
and no language features requiring initialization are used,
    do not initialize units, but just configure the fpu and
    signal handlers.

git-svn-id: trunk@16124 -
2010-10-10 17:40:39 +00:00
Jonas Maebe
f6d452c2c0 * remove the RTL's installed signal handlers at the end of the system
unit's initialization code in case we're in a library
  + implemented InquireSignal(), AbandonSignalHandler(), HookSignal() and
    UnhookSignal() in the sysutils unit
  * for Kylix compatibility, these routines support operating on
    SIGINT and SIGQUIT as well, although they are not hooked by default
    by FPC. The run time errors/exception codes for these signals are
    resp. 217 and 233 (same as in Kylix; I changed ENoWideStringSupport
    to 234).
  * changed the BSD syscall version of fpsigaction to use pointer
    rather than "var" arguments (compatible with other targets, and
    required to be able to pass nil arguments inside the system unit)
  -> together fixes mantis #12704

git-svn-id: trunk@13077 -
2009-05-02 09:40:44 +00:00
Jonas Maebe
cb23a80178 * fixed fpu rte code for invalid, inexact and "subscript out of range"
errors (216 -> 207) (same as for sparc/solaris in r7453)

git-svn-id: trunk@7477 -
2007-05-25 19:22:28 +00:00
florian
834ae15bd1 * fixed sparc building
git-svn-id: trunk@2063 -
2005-12-27 10:41:42 +00:00
florian
d4bb99a5fb + runerror 214: bus error/data misaligment
git-svn-id: trunk@1263 -
2005-10-03 08:25:20 +00:00
peter
4ace790492 * remove $Log
git-svn-id: trunk@231 -
2005-06-07 09:47:55 +00:00
fpc
790a4fe2d3 * log and id tags removed
git-svn-id: trunk@42 -
2005-05-21 09:42:41 +00:00
fpc
50778076c3 initial import
git-svn-id: trunk@1 -
2005-05-16 18:37:41 +00:00
peter
16b121f8c4 * unblock signal in signalhandler, remove the sigprocmask call
from setjmp
2005-04-24 21:19:22 +00:00
peter
e417e34496 * truncate log 2005-02-14 17:13:06 +00:00
peter
9db91c3f23 * set addr:=nil for other signals 2005-02-05 23:46:12 +00:00
peter
7335a0e9af * sigcontext is invalid, use siginfo only 2005-02-05 23:45:38 +00:00
peter
7fb8c3dfbd * signal cleanup for linux
* sigactionhandler instead of tsigaction for bsds
  * sigcontext moved to cpu dir
2005-01-30 18:01:15 +00:00
florian
71c7fc8a7a * fixed errno setting in mt sparc/linux mt programs 2004-11-06 22:48:16 +00:00
florian
49c3f3927e * fixed floating point and integer exception handling on sparc/linux 2004-08-04 19:27:09 +00:00
peter
3094258825 * removed warnings 2004-05-31 20:25:04 +00:00
peter
43cac0027c * compile fix 2003-11-06 16:28:52 +00:00
peter
07bfe21e9b * sparc 2003-11-06 16:22:01 +00:00