VirtualBox

Changeset 32350 in vbox for trunk/src


Ignore:
Timestamp:
Sep 9, 2010 12:29:57 PM (14 years ago)
Author:
vboxsync
Message:

Runtime/r3/coredumper: name flags similar to planned CFGM keys.

Location:
trunk/src/VBox/Runtime
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/solaris/coredumper-solaris.cpp

    r32347 r32350  
    22202220        return VERR_INVALID_PARAMETER;
    22212221
    2222     if (!fLiveCore && !(fFlags & RTCOREDUMPER_FLAGS_OVERRIDE_SYS_DUMPER))
     2222    if (!fLiveCore && !(fFlags & RTCOREDUMPER_FLAGS_REPLACE_SYSTEM_DUMP))
    22232223        return VERR_INVALID_PARAMETER;
    22242224
     
    22652265     * Validate flags.
    22662266     */
    2267     AssertReturn(!(fFlags & ~(  RTCOREDUMPER_FLAGS_OVERRIDE_SYS_DUMPER
     2267    AssertReturn(!(fFlags & ~(  RTCOREDUMPER_FLAGS_REPLACE_SYSTEM_DUMP
    22682268                              | RTCOREDUMPER_FLAGS_LIVE_CORE)),
    22692269                 VERR_INVALID_PARAMETER);
     
    22782278    sigAct.sa_flags = SA_RESTART | SA_SIGINFO;
    22792279
    2280     if (fFlags & RTCOREDUMPER_FLAGS_OVERRIDE_SYS_DUMPER)
     2280    if (fFlags & RTCOREDUMPER_FLAGS_REPLACE_SYSTEM_DUMP)
    22812281    {
    22822282        sigaction(SIGSEGV, &sigAct, NULL);
  • trunk/src/VBox/Runtime/testcase/tstRTCoreDump.cpp

    r32347 r32350  
    5656     * Setup core dumping.
    5757     */
    58     int rc = RTCoreDumperSetup(NULL, RTCOREDUMPER_FLAGS_OVERRIDE_SYS_DUMPER | RTCOREDUMPER_FLAGS_LIVE_CORE);
     58    int rc = RTCoreDumperSetup(NULL, RTCOREDUMPER_FLAGS_REPLACE_SYSTEM_DUMP | RTCOREDUMPER_FLAGS_LIVE_CORE);
    5959    if (RT_SUCCESS(rc))
    6060    {
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