proc/core/minidump,proc/gdbserial: update broken ext links (#2570)
The LLVM project archived their repository and moved it elsewhere, Microsoft broke their minidump documentation URLs.
This commit is contained in:
parent
b9fcb03ff4
commit
c617ed8189
@ -7,7 +7,7 @@ package minidump
|
|||||||
// ProcDump utility.
|
// ProcDump utility.
|
||||||
//
|
//
|
||||||
// The file format is described on MSDN starting at:
|
// The file format is described on MSDN starting at:
|
||||||
// https://docs.microsoft.com/en-us/windows/desktop/api/minidumpapiset/ns-minidumpapiset-_minidump_header
|
// https://docs.microsoft.com/en-us/windows/win32/api/minidumpapiset/ns-minidumpapiset-minidump_header
|
||||||
// which is the structure found at offset 0 on a minidump file.
|
// which is the structure found at offset 0 on a minidump file.
|
||||||
//
|
//
|
||||||
// Further information on the format can be found reading
|
// Further information on the format can be found reading
|
||||||
@ -120,7 +120,7 @@ type Minidump struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Stream represents one (uninterpreted) stream in a minidump file.
|
// Stream represents one (uninterpreted) stream in a minidump file.
|
||||||
// See: https://docs.microsoft.com/en-us/windows/desktop/api/minidumpapiset/ns-minidumpapiset-_minidump_directory
|
// See: https://docs.microsoft.com/en-us/windows/win32/api/minidumpapiset/ns-minidumpapiset-minidump_directory
|
||||||
type Stream struct {
|
type Stream struct {
|
||||||
Type StreamType
|
Type StreamType
|
||||||
Offset int
|
Offset int
|
||||||
@ -128,7 +128,7 @@ type Stream struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Thread represents an entry in the ThreadList stream.
|
// Thread represents an entry in the ThreadList stream.
|
||||||
// See: https://docs.microsoft.com/en-us/windows/desktop/api/minidumpapiset/ns-minidumpapiset-_minidump_thread
|
// See: https://docs.microsoft.com/en-us/windows/win32/api/minidumpapiset/ns-minidumpapiset-minidump_thread
|
||||||
type Thread struct {
|
type Thread struct {
|
||||||
ID uint32
|
ID uint32
|
||||||
SuspendCount uint32
|
SuspendCount uint32
|
||||||
@ -139,7 +139,7 @@ type Thread struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Module represents an entry in the ModuleList stream.
|
// Module represents an entry in the ModuleList stream.
|
||||||
// See: https://docs.microsoft.com/en-us/windows/desktop/api/minidumpapiset/ns-minidumpapiset-_minidump_module
|
// See: https://docs.microsoft.com/en-us/windows/win32/api/minidumpapiset/ns-minidumpapiset-minidump_module
|
||||||
type Module struct {
|
type Module struct {
|
||||||
BaseOfImage uint64
|
BaseOfImage uint64
|
||||||
SizeOfImage uint32
|
SizeOfImage uint32
|
||||||
@ -156,7 +156,7 @@ type Module struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// VSFixedFileInfo: Visual Studio Fixed File Info.
|
// VSFixedFileInfo: Visual Studio Fixed File Info.
|
||||||
// See: https://docs.microsoft.com/en-us/windows/desktop/api/verrsrc/ns-verrsrc-tagvs_fixedfileinfo
|
// See: https://docs.microsoft.com/en-us/windows/win32/api/verrsrc/ns-verrsrc-vs_fixedfileinfo
|
||||||
type VSFixedFileInfo struct {
|
type VSFixedFileInfo struct {
|
||||||
Signature uint32
|
Signature uint32
|
||||||
StructVersion uint32
|
StructVersion uint32
|
||||||
@ -194,7 +194,7 @@ func (m *MemoryRange) ReadMemory(buf []byte, addr uint64) (int, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// MemoryInfo reprents an entry in the MemoryInfoList stream.
|
// MemoryInfo reprents an entry in the MemoryInfoList stream.
|
||||||
// See: https://docs.microsoft.com/en-us/windows/desktop/api/minidumpapiset/ns-minidumpapiset-_minidump_memory_info
|
// See: https://docs.microsoft.com/en-us/windows/win32/api/minidumpapiset/ns-minidumpapiset-minidump_memory_info_list
|
||||||
type MemoryInfo struct {
|
type MemoryInfo struct {
|
||||||
Addr uint64
|
Addr uint64
|
||||||
Size uint64
|
Size uint64
|
||||||
@ -596,8 +596,8 @@ func readModuleList(mdmp *Minidump, buf *minidumpBuf) {
|
|||||||
|
|
||||||
// readMemory64List reads a _MINIDUMP_MEMORY64_LIST structure, containing
|
// readMemory64List reads a _MINIDUMP_MEMORY64_LIST structure, containing
|
||||||
// the description of the process memory.
|
// the description of the process memory.
|
||||||
// See: https://docs.microsoft.com/en-us/windows/desktop/api/minidumpapiset/ns-minidumpapiset-_minidump_memory64_list
|
// See: https://docs.microsoft.com/en-us/windows/win32/api/minidumpapiset/ns-minidumpapiset-minidump_memory64_list
|
||||||
// And: https://docs.microsoft.com/en-us/windows/desktop/api/minidumpapiset/ns-minidumpapiset-_minidump_memory_descriptor
|
// And: https://docs.microsoft.com/en-us/windows/win32/api/minidumpapiset/ns-minidumpapiset-minidump_memory_descriptor
|
||||||
func readMemory64List(mdmp *Minidump, buf *minidumpBuf, logfn func(fmt string, args ...interface{})) {
|
func readMemory64List(mdmp *Minidump, buf *minidumpBuf, logfn func(fmt string, args ...interface{})) {
|
||||||
rangesNum := buf.u64()
|
rangesNum := buf.u64()
|
||||||
baseOff := int(buf.u64())
|
baseOff := int(buf.u64())
|
||||||
|
|||||||
@ -11,7 +11,7 @@
|
|||||||
// The protocol is specified at:
|
// The protocol is specified at:
|
||||||
// https://sourceware.org/gdb/onlinedocs/gdb/Remote-Protocol.html
|
// https://sourceware.org/gdb/onlinedocs/gdb/Remote-Protocol.html
|
||||||
// with additional documentation for lldb specific extensions described at:
|
// with additional documentation for lldb specific extensions described at:
|
||||||
// https://github.com/llvm-mirror/lldb/blob/master/docs/lldb-gdb-remote.txt
|
// https://github.com/llvm/llvm-project/blob/main/lldb/docs/lldb-gdb-remote.txt
|
||||||
//
|
//
|
||||||
// Terminology:
|
// Terminology:
|
||||||
// * inferior: the program we are trying to debug
|
// * inferior: the program we are trying to debug
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user