Changeset 1193 for trunk/src


Ignore:
Timestamp:
Feb 6, 2004, 12:15:29 PM (22 years ago)
Author:
bird
Message:

#859: Added check for env.var. LIBC_BREAKPOINT_ABORT in abort() to help debug problems where a program aborts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/src/lib/misc/abort.c

    • Property cvs2svn:cvs-rev changed from 1.5 to 1.6
    r1192 r1193  
    1212  sigset_t set;
    1313  struct sigaction act;
     14
     15  if (getenv("LIBC_BREAKPOINT_ABORT"))
     16      __asm__ __volatile__ ("int $3");
     17
    1418
    1519  /* Special handling if there's a signal-catching function installed
Note: See TracChangeset for help on using the changeset viewer.