VirtualBox

Changeset 73131 in vbox


Ignore:
Timestamp:
Jul 13, 2018 5:10:33 PM (6 years ago)
Author:
vboxsync
Message:

Debugger: Started on dumpimage command.

Location:
trunk/src/VBox/Debugger
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Debugger/DBGCCommands.cpp

    r69500 r73131  
    5353static FNDBGCCMD dbgcCmdDetect;
    5454static FNDBGCCMD dbgcCmdDmesg;
     55extern FNDBGCCMD dbgcCmdDumpImage;
    5556static FNDBGCCMD dbgcCmdCpu;
    5657static FNDBGCCMD dbgcCmdInfo;
     
    117118
    118119
     120/** 'dumpimage' arguments. */
     121static const DBGCVARDESC    g_aArgDumpImage[] =
     122{
     123    /* cTimesMin,   cTimesMax,  enmCategory,            fFlags,                         pszName,        pszDescription */
     124    {  1,           ~0U,        DBGCVAR_CAT_POINTER,    0,                              "address",      "Address of image to dump." },
     125};
     126
     127
    119128/** 'help' arguments. */
    120129static const DBGCVARDESC    g_aArgHelp[] =
     
    241250    { "detect",     0,        0,        NULL,                0,                            0, dbgcCmdDetect,    "",                     "Detects or re-detects the guest os and starts the OS specific digger." },
    242251    { "dmesg",      0,        1,        &g_aArgDmesg[0],     RT_ELEMENTS(g_aArgDmesg),     0, dbgcCmdDmesg,     "[N last messages]",    "Displays the guest os kernel messages, if available." },
     252    { "dumpimage",  1,        ~0U,      &g_aArgDumpImage[0], RT_ELEMENTS(g_aArgDumpImage), 0, dbgcCmdDumpImage, "<addr1> [addr2..[addrN]]", "Dumps executable images." },
    243253    { "harakiri",   0,        0,        NULL,                0,                            0, dbgcCmdHarakiri,  "",                     "Kills debugger process." },
    244254    { "help",       0,        ~0U,      &g_aArgHelp[0],      RT_ELEMENTS(g_aArgHelp),      0, dbgcCmdHelp,      "[cmd/op [..]]",        "Display help. For help about info items try 'info help'." },
  • trunk/src/VBox/Debugger/Makefile.kmk

    r69111 r73131  
    4545        DBGCCmdWorkers.cpp \
    4646        DBGCCommands.cpp \
     47        DBGCDumpImage.cpp \
    4748        DBGCFunctions.cpp \
    4849        DBGCEmulateCodeView.cpp \
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