VirtualBox

Ignore:
Timestamp:
Jul 13, 2016 3:49:00 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
108733
Message:

Main/server: add a BUILDID to the server similar to what we have in VBoxC to be able to identify core dumps generated from VBoxSVC

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/win/svcmain.cpp

    r60865 r62222  
    334334    }
    335335
     336    /* Set up a build identifier so that it can be seen from core dumps what
     337     * exact build was used to produce the core. Same as in Console::i_powerUpThread(). */
     338    static char saBuildID[48];
     339    RTStrPrintf(saBuildID, sizeof(saBuildID), "%s%s%s%s VirtualBox %s r%u %s%s%s%s",
     340                "BU", "IL", "DI", "D", RTBldCfgVersion(), RTBldCfgRevision(), "BU", "IL", "DI", "D");
     341
    336342    int nRet = 0;
    337343    HRESULT hRes = com::Initialize(false /*fGui*/, fRun /*fAutoRegUpdate*/);
Note: See TracChangeset for help on using the changeset viewer.

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