Ignore:
Timestamp:
Nov 21, 2000, 12:36:09 PM (25 years ago)
Author:
sandervl
Message:

Updates for TEB changes

File:
1 edited

Legend:

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

    r4545 r4658  
    1 /* $Id: windllbase.cpp,v 1.21 2000-10-30 16:38:54 sandervl Exp $ */
     1/* $Id: windllbase.cpp,v 1.22 2000-11-21 11:35:09 sandervl Exp $ */
    22
    33/*
     
    387387 WINEXCEPTION_FRAME exceptFrame;
    388388 USHORT sel;
    389  THDB *thdb;
     389 TEB *teb;
    390390 BOOL rc, fSetExceptionHandler;
    391391
     
    395395    fAttachedToProcess = TRUE;
    396396
    397     thdb = GetThreadTHDB();
    398     fSetExceptionHandler = (!thdb || thdb->teb_sel != GetFS());
     397    teb = GetThreadTEB();
     398    fSetExceptionHandler = (!teb || teb->teb_sel != GetFS());
    399399
    400400    //Note: The Win32 exception structure references by FS:[0] is the same
     
    440440    }
    441441    else
    442     if(thdb) {
    443         if(thdb->teb_sel != GetFS()) {
     442    if(teb) {
     443        if(teb->teb_sel != GetFS()) {
    444444            dprintf(("Win32DllBase::attachProcess: FS was changed by dll entrypoint!!!!"));
    445445            DebugInt3();
Note: See TracChangeset for help on using the changeset viewer.