VirtualBox

Changeset 89896 in vbox


Ignore:
Timestamp:
Jun 24, 2021 6:26:06 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
145354
Message:

Debugger: Need to account for the segment offset when dumping symbols with 'x' or there will be offset errors ifthe module contains multiple segments because SymInfo.Value holds the offset from the beginning of the segment and not the offset from the beginning of the module as assumed before

File:
1 edited

Legend:

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

    r87788 r89896  
    62736273                            && (   fDumpAll
    62746274                                || RTStrSimplePatternMatch(pszSymbol, &SymInfo.szName[0])))
    6275                             DBGCCmdHlpPrintf(pCmdHlp, "%RGv    %s!%s\n", uMapping + (RTGCUINTPTR)SymInfo.Value, pszModName, &SymInfo.szName[0]);
     6275                            DBGCCmdHlpPrintf(pCmdHlp, "%RGv    %s!%s\n", uMapping + RTDbgModSegmentRva(hMod, SymInfo.iSeg) + (RTGCUINTPTR)SymInfo.Value, pszModName, &SymInfo.szName[0]);
    62766276                    }
    62776277                }
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