Ignore:
Timestamp:
May 2, 2000, 10:53:15 PM (25 years ago)
Author:
sandervl
Message:

added exception stack dump code; GetLocaleInfoA fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/exceptions.cpp

    r3375 r3483  
    1 /* $Id: exceptions.cpp,v 1.39 2000-04-14 22:35:27 sandervl Exp $ */
     1/* $Id: exceptions.cpp,v 1.40 2000-05-02 20:53:12 sandervl Exp $ */
    22
    33/*
    4  * Win32 Device IOCTL API functions for OS/2
     4 * Win32 Exception functions for OS/2
    55 *
    66 * Ported Wine exception handling code
     
    6565#include <wprocess.h>
    6666#include "oslibexcept.h"
     67#include "exceptstackdump.h"
    6768
    6869#define DBG_LOCALLOG    DBG_exceptions
     
    535536
    536537
    537 //******************************************************************************
    538 APIRET APIENTRY DosQueryModFromEIP (PULONG pulModule,
    539                                     PULONG pulObject,
    540                                     ULONG  ulBufferLength,
    541                                     PSZ    pszBuffer,
    542                                     PULONG pulOffset,
    543                                     ULONG  ulEIP);
    544 //******************************************************************************
    545 
    546 
    547538/*****************************************************************************
    548539 * Name      : void static dprintfException
     
    840831           pERepRec->ExceptionAddress));
    841832
    842   if (rc == NO_ERROR)
    843     dprintf(("%s (#%u), obj #%u:%08x\n",
     833  if(rc == NO_ERROR && ulObject != -1)
     834    dprintf(("<%s> (#%u), obj #%u:%08x\n",
    844835             szModule,
    845836             ulModule,
     
    847838             ulOffset));
    848839  else
    849     dprintf(("\n"));
     840    dprintf(("<win32 app>\n"));
    850841
    851842
     
    920911  dprintf(("---[End Of Exception Information]-----\n"));
    921912}
    922 
    923913
    924914/*****************************************************************************
     
    10581048CrashAndBurn:
    10591049        CheckLogException();
    1060         dprintfException(pERepRec, pERegRec, pCtxRec, p);
     1050#ifdef DEBUG
     1051        dprintfException(pERepRec, pERegRec, pCtxRec, p);
     1052        if(pCtxRec->ContextFlags & CONTEXT_CONTROL) {
     1053                dbgPrintStack(pERepRec, pERegRec, pCtxRec, p);
     1054        }
     1055#endif
    10611056        if(fIsOS2Image == FALSE)  //Only for real win32 apps
    10621057        {
Note: See TracChangeset for help on using the changeset viewer.