VirtualBox

Changeset 2901 in vbox


Ignore:
Timestamp:
May 29, 2007 9:42:37 AM (18 years ago)
Author:
vboxsync
Message:

Print the add-symbol-file for VBoxREM2.rel to the release log so we can use it when analyzing core dumps.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/recompiler/VBoxREMWrapper.cpp

    r2891 r2901  
    163163
    164164/** @def USE_REM_IMPORT_JUMP_GLUE
    165  * Define USE_REM_IMPORT_JUMP_GLUE for platforms where we need to 
     165 * Define USE_REM_IMPORT_JUMP_GLUE for platforms where we need to
    166166 * emit some jump glue to deal with big addresses.
    167167 */
     
    10771077
    10781078
    1079 # if defined(USE_REM_CALLING_CONVENTION_GLUE) || defined(USE_REM_IMPORT_JUMP_GLUE) 
     1079# if defined(USE_REM_CALLING_CONVENTION_GLUE) || defined(USE_REM_IMPORT_JUMP_GLUE)
    10801080/** LIFO of read-write-executable memory chunks used for wrappers. */
    10811081static PREMEXECMEM g_pExecMemHead;
     
    11151115
    11161116
    1117 # if defined(USE_REM_CALLING_CONVENTION_GLUE) || defined(USE_REM_IMPORT_JUMP_GLUE) 
     1117# if defined(USE_REM_CALLING_CONVENTION_GLUE) || defined(USE_REM_IMPORT_JUMP_GLUE)
    11181118/**
    11191119 * Allocates a block of memory for glue code.
     
    13981398static int remGenerateImportGlue(PRTUINTPTR pValue, PREMFNDESC pDesc)
    13991399{
    1400 # if defined(USE_REM_CALLING_CONVENTION_GLUE) || defined(USE_REM_IMPORT_JUMP_GLUE) 
     1400# if defined(USE_REM_CALLING_CONVENTION_GLUE) || defined(USE_REM_IMPORT_JUMP_GLUE)
    14011401    if (!pDesc->pvWrapper)
    14021402    {
     
    15501550#ifdef DEBUG /* How to load the VBoxREM2.rel symbols into the GNU debugger. */
    15511551            RTPrintf("VBoxREMWrapper: (gdb) add-symbol-file %s 0x%p\n", szPath, g_pvREM2);
    1552 #endif 
    1553             Log(("Loading %s at 0x%p (%d bytes)\n"
    1554                  "(gdb) add-symbol-file %s 0x%p\n",
    1555                  szPath, g_pvREM2, RTLdrSize(g_ModREM2), szPath, g_pvREM2));
     1552#endif
     1553            LogRel(("REM: Loading %s at 0x%p (%d bytes)\n"
     1554                    "REM: (gdb) add-symbol-file %s 0x%p\n",
     1555                    szPath, g_pvREM2, RTLdrSize(g_ModREM2), szPath, g_pvREM2));
    15561556            rc = RTLdrGetBits(g_ModREM2, g_pvREM2, (RTUINTPTR)g_pvREM2, remGetImport, NULL);
    15571557            if (VBOX_SUCCESS(rc))
     
    16011601    for (i = 0; i < ELEMENTS(g_aExports); i++)
    16021602        *(void **)g_aExports[i].pv = NULL;
    1603 # if defined(USE_REM_CALLING_CONVENTION_GLUE) || defined(USE_REM_IMPORT_JUMP_GLUE) 
     1603# if defined(USE_REM_CALLING_CONVENTION_GLUE) || defined(USE_REM_IMPORT_JUMP_GLUE)
    16041604    for (i = 0; i < ELEMENTS(g_aVMMImports); i++)
    16051605        g_aVMMImports[i].pvWrapper = NULL;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette