Changeset 92112 in vbox for trunk/src/VBox/Runtime/common/dbg
- Timestamp:
- Oct 27, 2021 7:55:58 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/dbg/dbgmoddwarf.cpp
r86522 r92112 3825 3825 3826 3826 /* 3827 * Note! Was defined in DWARF 4. But... Watcom used it 3828 * for setting the segment in DWARF 2, creating3829 * an incompatibility with the newer standard.3827 * Note! Was defined in DWARF 4. But... Watcom used it for setting the 3828 * segment in DWARF 2, creating an incompatibility with the newer 3829 * standard. And gcc 10 uses v3 for these. 3830 3830 */ 3831 3831 case DW_LNE_set_descriminator: 3832 3832 if (pLnState->Hdr.uVer != 2) 3833 3833 { 3834 Assert(pLnState->Hdr.uVer >= 4);3834 Assert(pLnState->Hdr.uVer >= 3); 3835 3835 pLnState->Regs.uDiscriminator = rtDwarfCursor_GetULeb128AsU32(pCursor, UINT32_MAX); 3836 3836 Log2(("%08x: DW_LNE_set_descriminator: %u\n", offOpCode, pLnState->Regs.uDiscriminator)); … … 5160 5160 if (pThis->iWatcomPass == 1) 5161 5161 rc = rtDbgModDwarfRecordSegOffset(pThis, pLabel->uSegment, pLabel->Address.uAddress); 5162 else 5162 else if (pLabel->pszName && *pLabel->pszName != '\0') /* Seen empty labels with isolinux. */ 5163 5163 { 5164 5164 RTDBGSEGIDX iSeg;
Note:
See TracChangeset
for help on using the changeset viewer.