Changeset 2519 for branches/libc-0.6/src/emx
- Timestamp:
- Feb 4, 2006, 7:08:23 PM (20 years ago)
- Location:
- branches/libc-0.6/src/emx
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/libc-0.6/src/emx/ChangeLog.LIBC
r2518 r2519 9 9 o #25: Ensure correct address length returns from recvmsg and recvfrom. 10 10 - libc: 11 o #38: Added DosSysCtl prototype and use it on panic to check for debugger. 11 12 o #33: Fixed a return path in __libc_back_signalWait which didn't reacquire the semaphore. 12 13 o #32: Fixed incorrect readdir_r return code when out of files. -
branches/libc-0.6/src/emx/include/os2emx.h
r2273 r2519 13467 13467 13468 13468 13469 #ifdef INCL_DOSUNDOCUEMENTED 13470 13471 /** Check if the current process is being debugged. 13472 * No parameter. Returns TRUE or FALSE. */ 13473 #define DOSSYSCTL_AM_I_DEBUGGED 2 13474 13475 /** 13476 * System Control Function. 13477 * 13478 * @returns Depends on function. 13479 * @param ulFunction Which function to execute. 13480 * Any of the DOSSYSCTL_* #defines. 13481 */ 13482 APIRET APIENTRY DosSysCtl(ULONG ulFunction, PVOID pvParameter); 13483 13484 #endif /* INCL_DOSUNDOCUEMENTED */ 13485 13486 13469 13487 #ifdef INCL_EXAPIS 13470 13488 -
branches/libc-0.6/src/emx/src/lib/sys/b_panic.c
r2321 r2519 4 4 * LIBC SYS Backend - panic. 5 5 * 6 * Copyright (c) 2005 knut st. osmundsen <bird@anduin.net>6 * Copyright (c) 2005-2006 knut st. osmundsen <bird@anduin.net> 7 7 * 8 8 * … … 30 30 * Header Files * 31 31 *******************************************************************************/ 32 #define __LIBC_LOG_GROUP __LIBC_LOG_GRP_NOGROUP 32 33 #define INCL_BASE 33 34 #define INCL_ERRORS 34 35 #define INCL_FSMACROS 36 #define INCL_DOSUNDOCUEMENTED 35 37 #define _GNU_SOURCE 36 38 #include <string.h> 37 39 #include <InnotekLIBC/backend.h> 38 40 #include <InnotekLIBC/sharedpm.h> 39 #define __LIBC_LOG_GROUP __LIBC_LOG_GRP_NOGROUP40 41 #include <InnotekLIBC/logstrict.h> 41 42 #include <os2emx.h> … … 185 186 BOOL fQuiet = FALSE; 186 187 BOOL fVerbose = TRUE; 187 BOOL fBreakpoint = FALSE;188 BOOL fBreakpoint = DosSysCtl(DOSSYSCTL_AM_I_DEBUGGED, NULL) == TRUE; 188 189 BOOL fDumpProcess = TRUE; 189 190 const char *pszPanicCfg = NULL;
Note:
See TracChangeset
for help on using the changeset viewer.