VirtualBox

Changeset 74252 in vbox


Ignore:
Timestamp:
Sep 13, 2018 5:22:06 PM (6 years ago)
Author:
vboxsync
Message:

IPRT/dbgstackdumpself: Another shot at the solaris linking issue. bugref:9152

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/dbg/dbgstackdumpself.cpp

    r74235 r74252  
    9595*   Internal Functions                                                                                                           *
    9696*********************************************************************************************************************************/
     97/* Wanted to use DECLHIDDEN(DECLASM(size_t)) here, but early solaris 11 doesn't like it. */
    9798RT_C_DECLS_BEGIN
    98 DECLASM(DECLHIDDEN(size_t)) rtDbgStackDumpSelfWorker(char *pszStack, size_t cbStack, uint32_t fFlags, PCRTCCUINTREG pauRegs);
     99DECLHIDDEN(DECLCALLBACK(size_t)) rtDbgStackDumpSelfWorker(char *pszStack, size_t cbStack, uint32_t fFlags, PCRTCCUINTREG pauRegs);
    99100RT_C_DECLS_END
    100101
     
    360361 *                      PC and us followed by the general purpose registers.
    361362 */
    362 DECLASM(DECLHIDDEN(size_t)) rtDbgStackDumpSelfWorker(char *pszStack, size_t cbStack, uint32_t fFlags, PCRTCCUINTREG pauRegs)
     363DECLHIDDEN(DECLCALLBACK(size_t)) rtDbgStackDumpSelfWorker(char *pszStack, size_t cbStack, uint32_t fFlags, PCRTCCUINTREG pauRegs)
    363364{
    364365    RT_NOREF(fFlags);
  • trunk/src/VBox/Runtime/tools/RTKrnlModInfo.cpp

    r69434 r74252  
    4949        return RTMsgInitFailure(rc);
    5050
     51    /** @todo proper argument parsing, please. */
     52    if (argc != 1)
     53    {
     54        RTMsgError("Syntax error: This tool takes no parameters.  It just lists the modules\n");
     55        return RTEXITCODE_SYNTAX;
     56    }
     57
    5158    RTEXITCODE rcExit = RTEXITCODE_SUCCESS;
    5259    uint32_t cKrnlMods = RTKrnlModLoadedGetCount();
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