VirtualBox

Changeset 89881 in vbox for trunk/src/VBox/Runtime/common


Ignore:
Timestamp:
Jun 24, 2021 10:58:04 AM (4 years ago)
Author:
vboxsync
Message:

Runtime/common/dbg: Implement basic debug info reader for XML files created by Ghidra's createPdbXmlFiles.bat script in order to get more accurate symbols when debugging Windows guests on hosts other than Windows due to the lack of a dbghelp.dll equivalent for accessing the debugging information inside of PDB files. This requires creating the XML files on a Windows machine with a matching set of PDB files. XML files can be loaded with the loadmap debugger command for now (automatic loading not implemented right now)

Location:
trunk/src/VBox/Runtime/common/dbg
Files:
1 added
1 edited

Legend:

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

    r85124 r89881  
    285285        if (RT_SUCCESS(rc))
    286286            rc = rtDbgModDebugInterpreterRegister(&g_rtDbgModVtDbgCodeView);
     287#ifdef IPRT_WITH_GHIDRA_DBG_MOD
     288        if (RT_SUCCESS(rc))
     289            rc = rtDbgModDebugInterpreterRegister(&g_rtDbgModVtDbgGhidra);
     290#endif
    287291#ifdef RT_OS_WINDOWS
    288292        if (RT_SUCCESS(rc))
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