- 06 2月, 2021 1 次提交
-
-
由 Chris Hines 提交于
-
- 30 1月, 2021 4 次提交
-
-
由 Alessandro Arzilli 提交于
* proc/core: off-by-one error reading ELF core files core.(*splicedMemory).ReadMemory checked the entry interval erroneously when dealing with contiguous entries. * terminal,service,proc/*: adds dump command (gcore equivalent) Adds the `dump` command that creates a core file from the target process. Backends will need to implement a new, optional, method `MemoryMap` that returns a list of mapped memory regions. Additionally the method `DumpProcessNotes` can be implemented to write out to the core file notes describing the target process and its threads. If DumpProcessNotes is not implemented `proc.Dump` will write a description of the process and its threads in a OS/arch-independent format (that only Delve understands). Currently only linux/amd64 implements `DumpProcessNotes`. Core files are only written in ELF, there is no minidump or macho-o writers. # Conflicts: # pkg/proc/proc_test.go
-
由 Alessandro Arzilli 提交于
core.(*splicedMemory).ReadMemory checked the entry interval erroneously when dealing with contiguous entries.
-
由 Alessandro Arzilli 提交于
Both structMember and findMethod implemented a depth-first search in embedded fields but the Go specification requires a breadth-first search. They also allowed promotion of fields in the concrete type of embedded interfaces even though this is not allowed by Go. Furthermore they both lacked protection from infinite recursion when a type embeds itself and the user requests a non-existent field. Fixes #2316
-
由 Than McIntosh 提交于
Add a helper method for collecting line table file references that does the correct thing for DWARF 5 vs DWARF 4 (in the latter case you have an implicit 0 entry which is the comp dir, whereas in the former case you do not). This is to avoid out-of-bounds errors when examining the file table section of a DWARF 5 compilation unit's line table. Included is a new linux/amd-only test that includes a precompiled C object file with a DWARF-5 section that triggers the bug in question. Fixes #2319
-
- 29 1月, 2021 1 次提交
-
-
由 Alessandro Arzilli 提交于
Thank you to: @andreimatei, @hitzhangjie, @dlsniper, @nd, @polinasok, @oxisto, @zamai, @artspb.
-
- 28 1月, 2021 1 次提交
-
-
由 Alessandro Arzilli 提交于
Fixes #1273
-
- 27 1月, 2021 5 次提交
-
-
由 Alessandro Arzilli 提交于
Moves common backend code in WriteBreakpoint to proc.(*Target).SetBreakpoint.
-
由 Alessandro Arzilli 提交于
The DWARF standard does not say that a DW_ATTR_abstract_origin can only reference entries that appear before it, this change fixes BinaryInfo to comply. See #2284 for an example of this happening.
-
由 Alessandro Arzilli 提交于
-
由 Alessandro Arzilli 提交于
Fixes #2198 Co-authored-by: Ndu.jinze <du.jinze@zte.com.cn>
-
由 Alessandro Arzilli 提交于
Changs TestClientServer_FullStacktrace and Test1ClientServer_FullStacktrace to log more information, also removes code from TestFrameEvaluation that could mask the error. Updates #2231
-
- 26 1月, 2021 3 次提交
-
-
由 Derek Parker 提交于
Removes linux builders from the GitHub action matrix. These are covered via the TeamCity CI solution now.
-
由 Alessandro Arzilli 提交于
Add missing comma.
-
由 Alessandro Arzilli 提交于
* TeamCity: change test matrix and test scripts Changes test matrix to test: * 1.13 through 1.16 on linux/amd64 * 1.15, 1.16 on windows/amd64 * 1.15 on linux/386 Also includes tests on go-tip for windows/amd64 and linux/amd64 (currently disabled, but can be turned on in a PR). Changes test scripts to automatically select the latest patch version of Go. * CI: remove Travis-CI and Appveyor configuration
-
- 21 1月, 2021 3 次提交
-
-
-
由 aarzilli 提交于
TeamCity change in 'Delve (matrix change test)' project: 'https://github.com/aarzilli/delve' VCS root was created
-
由 Alessandro Arzilli 提交于
Change TestGeneratedDoc to ignore differences in line terminators.
-
- 20 1月, 2021 5 次提交
-
-
由 nd 提交于
-
由 nd 提交于
* Enable pull-requests in all builds Otherwise test builds always use the master branch * Apply change in settings made in UI
-
由 hitzhangjie 提交于
-
由 Artem Khvastunov 提交于
-
由 derekparker 提交于
-
- 19 1月, 2021 1 次提交
-
-
由 Artem Khvastunov 提交于
-
- 18 1月, 2021 1 次提交
-
-
由 Artem Khvastunov 提交于
* add -json flag when running tests on TeamCity * introduce TeamCity builds * restore gdbserial constants for 386 Otherwise compilation fails. * skip TestAttachRequest on Windows as it never finishes * run tests on 1.16beta1
-
- 15 1月, 2021 1 次提交
-
-
由 polinasok 提交于
* Add support for evaluateName for variables * More evaluateName logic tweaks and tests * Make DeepSource happy Co-authored-by: NPolina Sokolova <polinasok@users.noreply.github.com>
-
- 13 1月, 2021 1 次提交
-
-
由 polinasok 提交于
Co-authored-by: NPolina Sokolova <polinasok@users.noreply.github.com>
-
- 09 1月, 2021 1 次提交
-
-
由 polinasok 提交于
* Use address, not index to differentiate compound map keys * Clean up calls to expectVarRegex Co-authored-by: NPolina Sokolova <polinasok@users.noreply.github.com>
-
- 07 1月, 2021 1 次提交
-
-
由 polinasok 提交于
Co-authored-by: NPolina Sokolova <polinasok@users.noreply.github.com>
-
- 06 1月, 2021 3 次提交
-
-
由 Alessandro Arzilli 提交于
Fixes #637
-
由 Alex Zamai 提交于
add example for multiple --build-flags add example description to --build-flags
-
由 Alessandro Arzilli 提交于
* proc: misc test fixes for Go 1.16 * proc: fix cgo stacktraces in Go 1.16 with simplified C -> Go call path * dwarf/line: make dwarf/line correct when '\\' are used Our code depends heavily on paths being '/' separated because go always produced '/' separated file paths. The call to filepath.Join will normalize the paths, on windows, to always be '\\' separated, which violated our assumptions. This didn't use to be a problem because the codepath that calls filepath.Join was never exercised by executable files produced by Go, but Go 1.16 started producing debug_line sections that use the directory table with https://go-review.googlesource.com/c/go/+/263017/. Fix this to always use path.Join after making sure, on windows, to always normalize paths to use '/' as a separator. Replace the use of filepath.IsAbs with an operating system independent version. * goversion: bump supported Go version
-
- 05 1月, 2021 4 次提交
-
-
由 Alessandro Arzilli 提交于
The goroutines command can take a long time to complete if there are many goroutines, add the possibility to terminate it early by pressing ctrl-C.
-
由 nd 提交于
Before go1.11 waitreason field was a string, not an int. Return 0 waitreason for old go versions. Should fix #2282
-
由 Christian Banse 提交于
* Added support for reading darwin/arm64 using gdbserver * Trying to fix test failures * Addressing review comments
-
由 Alessandro Arzilli 提交于
If a thread exits while we are looking at it just treat it as if the status had reported it as exited instead of doing something special. Fixes flakiness in TestIssue387.
-
- 29 12月, 2020 4 次提交
-
-
由 polinasok 提交于
* Support local attach * Undo loopprog change * Remove test check for system-specific error message * Skip attach tests on freebasd Co-authored-by: NPolina Sokolova <polinasok@users.noreply.github.com>
-
由 Alessandro Arzilli 提交于
-
由 Alessandro Arzilli 提交于
Waits for the target process to have received the kill signal in native.nativeProcess.kill. Fixes an infrequent error in TestKill.
-
由 nd 提交于
Sometimes it makes debuggee to hang. Should fix #2244
-