diff options
| author | DanielGavin <danielgavin5@hotmail.com> | 2023-03-31 15:48:47 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-31 15:48:47 +0200 |
| commit | 39a9e145d07d98fdff06d06010f979d7f4a8902a (patch) | |
| tree | 2bf9a69ae09c750d19161858f9f653ef2f489d00 /src/pdb/stackTrace.odin | |
| parent | 5edd504c40f5c942c84254ef5f27699867e3b103 (diff) | |
| parent | 461a694ebb40fe865bada5d864f750581a9ff296 (diff) | |
Merge pull request #181 from ThomasL81/master
Fixed build error against latest Odin master version
Diffstat (limited to 'src/pdb/stackTrace.odin')
| -rw-r--r-- | src/pdb/stackTrace.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pdb/stackTrace.odin b/src/pdb/stackTrace.odin index aea205a..34e7902 100644 --- a/src/pdb/stackTrace.odin +++ b/src/pdb/stackTrace.odin @@ -267,7 +267,7 @@ parse_stack_trace :: proc(stackTrace: []StackFrame, sameProcess: bool, srcCodeLo pPdbBase := (^PECodeViewInfoPdb70Base)((stackFrame.imgBaseAddr) + uintptr(dde.rawDataAddr)) if pPdbBase.cvSignature != PECodeView_Signature_RSDS do continue pPdbPath := (^byte)(uintptr(pPdbBase) + cast(uintptr)size_of(PECodeViewInfoPdb70Base)) - mi.pdbPath = strings.string_from_nul_terminated_ptr(pPdbPath, int(dde.dataSize-size_of(PECodeViewInfoPdb70Base))) + mi.pdbPath = strings.string_from_null_terminated_ptr(pPdbPath, int(dde.dataSize-size_of(PECodeViewInfoPdb70Base))) } else { // otherwise we need to seek to it on disk peStream := os.stream_from_handle(peFile) |