VirtualBox

Changeset 97632 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Nov 21, 2022 3:32:27 PM (2 years ago)
Author:
vboxsync
Message:

Main/ClientWatcher: Resolve signals to strings on non-Windows, to make reading the logs (also for the testboxes) a bit easier.

File:
1 edited

Legend:

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

    r96407 r97632  
    214214                            break;
    215215                        case RTPROCEXITREASON_SIGNAL:
    216                             LogRel(("Reaper: Pid %d (%x) was signalled: %d (%#x)\n",
    217                                     pid, pid, Status.iStatus, Status.iStatus));
     216                            LogRel(("Reaper: Pid %d (%x) was signalled: %s (%d / %#x)\n",
     217#if defined(RT_OS_WINDOWS) || defined(RT_OS_OS2)
     218                                    pid, pid, "", Status.iStatus, Status.iStatus));
     219#else
     220                                    pid, pid, strsignal(Status.iStatus), Status.iStatus, Status.iStatus));
     221#endif
    218222                            break;
    219223                    }
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