VirtualBox

Changeset 46946 in vbox for trunk


Ignore:
Timestamp:
Jul 3, 2013 4:15:51 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
86952
Message:

Install bios symbol files in bin/VBoxDbgSyms/ and make DBGF look there.

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r46902 r46946  
    101101 INST_ADDITIONS_ISO   = $(INST_BIN)
    102102
     103 INST_VBOXDBG_SYMS    = $(INST_VIRTUALBOX)Contents/Resources/VBoxDbgSyms/
     104
    103105 # other paths
    104106 INST_LIB             = lib/
     
    129131 VBOX_INST_DTRACE_LIB = $(INST_BIN)dtrace/lib/
    130132 VBOX_INST_DTRACE_TST = $(INST_BIN)dtrace/testcase/
    131 endif
     133
     134 INST_VBOXDBG_SYMS    = $(INST_BIN)VBoxDbgSyms/
     135endif
     136
    132137
    133138INST_TESTSUITE        = testsuite/
     
    44974502
    44984503endif # VBOX_WITH_QTGUI
     4504
     4505
     4506#
     4507# Template for installing symbol files that we wish to ship.
     4508#
     4509TEMPLATE_VBoxDbgSyms = Symbol files for VBoxDbg and gurus.
     4510TEMPLATE_VBoxDbgSyms_INST = $(INST_VBOXDBG_SYMS)
    44994511
    45004512
  • trunk/src/VBox/Devices/Graphics/BIOS/Makefile.kmk

    r43610 r46946  
    136136
    137137
     138#
     139# Install the symbol file for the BIOS.
     140#
     141INSTALLS += VBoxVgaBiosSym
     142VBoxVgaBiosSym_TEMPLATE = VBoxDbgSyms
     143VBoxVgaBiosSym_SOURCES = $(basename $(VBoxVgaBios_1_TARGET)).sym
     144
     145
    138146include $(FILE_KBUILD_SUB_FOOTER)
    139147
  • trunk/src/VBox/Devices/PC/BIOS/Makefile.kmk

    r42770 r46946  
    131131endif
    132132
     133
     134#
     135# Install the symbol file for the BIOS.
     136#
     137INSTALLS += VBoxPcBiosSym
     138VBoxPcBiosSym_TEMPLATE = VBoxDbgSyms
     139VBoxPcBiosSym_SOURCES = $(basename $(VBoxPcBios_1_TARGET)).sym
     140
     141
    133142include $(FILE_KBUILD_SUB_FOOTER)
    134143
  • trunk/src/VBox/VMM/VMMR3/DBGFAddrSpace.cpp

    r46915 r46946  
    199199        }
    200200    }
     201
     202    /*
     203     * Prepend the VBoxDbgSyms directory to the path.
     204     */
     205    char szPath[RTPATH_MAX];
     206    rc = RTPathAppPrivateNoArch(szPath, sizeof(szPath));
     207    AssertRCReturn(rc, rc);
     208#ifdef RT_OS_DARWIN
     209    rc = RTPathAppend(szPath, sizeof(szPath), "../Resources/VBoxDbgSyms/");
     210#else
     211    rc = RTPathAppend(szPath, sizeof(szPath), "VBoxDbgSyms/");
     212#endif
     213    AssertRCReturn(rc, rc);
     214    rc = RTDbgCfgChangeString(pUVM->dbgf.s.hDbgCfg, RTDBGCFGPROP_PATH, RTDBGCFGOP_PREPEND, szPath);
     215    AssertRCReturn(rc, rc);
    201216
    202217    /*
     
    616631            PATMR3DbgPopulateAddrSpace(pUVM->pVM, hDbgAs);
    617632#endif
     633        }
     634        else if (hAlias == DBGF_AS_PHYS && pUVM->pVM)
     635        {
     636            /** @todo Lazy load pc and vga bios symbols or the EFI stuff. */
    618637        }
    619638
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette