- 27 2月, 2019 4 次提交
-
-
由 Alessandro Arzilli 提交于
Fixes #1493
-
由 Alessandro Arzilli 提交于
-
由 Alessandro Arzilli 提交于
Type names need to be quoted when that expression is evaluated, by printing them quoted the user can just copy and paste the output.
-
由 Alessandro Arzilli 提交于
Go 1.6 is now unsupported by the Go team and 3 years old and runtimeTypeToDIE can use some simplification.
-
- 22 2月, 2019 3 次提交
-
-
由 Derek Parker 提交于
-
由 chainhelen 提交于
If the user specifies a relative path in a location expression try to match it relative to the path of the executable. Fixes #1474
-
由 Alessandro Arzilli 提交于
Do not mention external debug info files when the problem might just be that the executable was stripped.
-
- 21 2月, 2019 2 次提交
-
-
由 Derek Parker 提交于
-
由 Derek Parker 提交于
When compression is applied by default running the DWZ tool on the resulting binary will crash. The actual default compression code will look and see if compression makes any difference and if so replace the normal `.debug_*` section with `.zdebug_*`. This is why it may not have been hit before. On one of my workstations I build with 1.12rc1 and no compression happens, but on a Fedora VM I build and the binary results in compressed DWARF sections. Adding this flag will make this test more consistent overall.
-
- 20 2月, 2019 1 次提交
-
-
由 Derek Parker 提交于
-
- 14 2月, 2019 1 次提交
-
-
由 aarzilli 提交于
Add new version to CHANGELOG and update internal version. Thank you @sbromberger @chainhelen, @dishmaev, @kevin-cantwell, @Russtopia, @slp, @zavla, @the4thamigo-uk, @altimac and @GregorioMartinez.
-
- 12 2月, 2019 1 次提交
-
-
由 Gregorio Martinez 提交于
* config/config.go This change checks for the environmental variable XDG_CONFIG_HOME before storing the configuration file in the home directory. Closes #1454 * config/config.go This change attempts to move the previous config file location to the new XDG_CONFIG_HOME compliant location on linux systems or when XDG_CONFIG_HOME is set. This change removes the old config file location if the file is successfully moved. * config/config.go Consolidate messages about config moving and clean up into one. Remove extraneous newlines. * pkg/config: config path error messages print to stderr This change updates the output location of error messages related to the config path. This will prevent clients from getting unexpected output when an error occurs. * pkg/config: Update path used when returning unable to move config error This change fixes the error message when Delve was unable to move the config. Previously returned a FileInfo object not the file path. * pkg/config: Remove check for stderr when printing error messages * pkg/config: Move success message for moving config to stderr This prevents the success message from being printed to stdout and breaking frontends. * pkg/config: Rename variable to be more descriptive
-
- 29 1月, 2019 1 次提交
-
-
由 aarzilli 提交于
Fixes #1471
-
- 15 1月, 2019 1 次提交
-
-
由 Derek Parker 提交于
This file should be located elsewhere (on the OSX host, I believe) and as such does not beed to be checked in here. Fixes #1460
-
- 09 1月, 2019 1 次提交
-
-
由 Aurélien 提交于
On Go 1.10 -gcflags='all=-N -l' should be preferred, update the documentation of 'exec' command to reflect this.
-
- 08 1月, 2019 4 次提交
-
-
由 aarzilli 提交于
Describe how the Start and Count parameters of ListGoroutines are used.
-
由 aarzilli 提交于
FindGoroutine can be slow when there are many goroutines running. This can not be fixed in the general case, however: 1. Instead of getting the entire list of goroutines at once just get a few at a time and return as soon as we find the one we want. 2. Since FindGoroutine is mostly called by ConvertEvalScope and users are more likely to request informations about a goroutine running on a thread, look within the threads first.
-
由 aarzilli 提交于
The allg cache was corrupted when the count parameter was actually reached. Fix the bug and add a test for this.
-
由 aarzilli 提交于
We forgot to run typecheckrpc.go periodically and it didn't work anymore and there were some minor errors in service/rpc2/client.go. Rewrite typecheckrpc.go using go/packages, so that it works with go1.11 and go.mod, and fix the issues in client.go
-
- 05 1月, 2019 4 次提交
-
-
由 aarzilli 提交于
As specified in line dwarf/godwarf/type.go:507 the typeCache entry should always be set before recursive calls to readType to avoid infite recursion. Most code in readType already does this but some of the code added later to handle Go types was wrong. Fix this bug and also fix the String and Size methods of Type so that they handle recursive types "correctly" (i.e. they don't recur forever). No test is added for this since all legitimate uses of cyclical types were already handled correctly and the malformed types emitted by the go compiler will probably be removed in 1.12. See: https://github.com/golang/go/issues/29264 Fixes #1444
-
由 aarzilli 提交于
* Change module name to github.com/go-delve/delve * Change package name in appveyor.yml
-
由 Derek Parker 提交于
The repository is being switched from the personal account github.com/derekparker/delve to the organization account github.com/go-delve/delve. This patch updates imports and docs, while preserving things which should not be changed such as my name in the CHANGELOG and in TODO comments.
-
由 Andy Smith 提交于
-
- 04 1月, 2019 1 次提交
-
-
由 Derek Parker 提交于
Some build environments (such as when building RPMs) enjoy symlinking things. This unfortunately causes our tests to fail as we record the path of fixtures and use that when looking up file:line information. However, the debug info in the binary records the original file location, not the location of the symlink.
-
- 04 12月, 2018 3 次提交
-
-
由 aarzilli 提交于
When casting an integer into a struct pointer we make a fake pointer variable that doesn't have an address, maybeDereference and structMember should still work on this kind of Variable. Fixes #1432
-
由 aarzilli 提交于
1. Check IsMulticlient and send stop request before doing anything else. 2. Allow init file to call 'exit' Fixes #1430
-
由 aarzilli 提交于
PTRACE_GETREGSET was added in Linux 2.6.34, running this request in an older kernel will report EIO, as documented on the manpage. Fixes #1197
-
- 30 11月, 2018 2 次提交
-
-
由 aarzilli 提交于
The size of the TLS memory arena needs to be aligned to pointer sized boundaries on 86x64 architectures, otherwise some programs using cgo will not have the correct offset for the g struct. No tests because reproducing this problem depends on behavior of the GNU ld linker caused by unclear influences. Fixes #1428.
-
由 aarzilli 提交于
Goroutine id == 0 is special (there can be many goroutines with id 0). If the caller of FindGoroutine asks for gid==0 and current thread is running a goroutine 0 (i.e. either no goroutine or a special goroutine) return whatever goroutine is running on the current thread. Updates #1428
-
- 29 11月, 2018 2 次提交
-
-
由 Chandrashekhara A 提交于
* pkg/config: Using current directory to store config if getting user details fails. This patch is to use current directory to store config file. user.Current() call fails when dlv is run inside a container. (Alpine) * Addressing comments * Removed whitespace
-
由 zavla 提交于
* main_test: Fix "gopath mode" detection in projectRoot() Fails detect that this is a "gopath mode" when GOPATH contains several paths ex. "d:\\dir\\gopath;f:\\dir\\gopath2"
-
- 28 11月, 2018 1 次提交
-
-
由 zavla 提交于
Fixes an error in wrongly appending os.PathSeparator to source file path on Windows in case of path substitution config option.
-
- 27 11月, 2018 3 次提交
-
-
由 Sergio Lopez 提交于
If DebugInfoDirectories is empty, set it to same value as we have in the default configuration. This is useful for users which already have an older config file.
-
由 Sergio Lopez 提交于
Otherwise the later call to ioutil.ReadAll will return an empty array. This issue is visible from the user's perspective due to the new debug-info-directories parameter, which does have a value in the default config. As a consequence, the first 'dlv' invocation fails to find the separate debug info files, while the second one works as expected: $ ./dlv core /usr/bin/dockerd-current /case/dockerd.1234 could not find external debug info file $ ./dlv core /usr/bin/dockerd-current /case/dockerd.1234 Type 'help' for list of commands. (dlv) exit
- 22 11月, 2018 2 次提交
-
-
由 aarzilli 提交于
Minidumps are the windows equivalent of unix core files. This commit updates pkg/proc/core so that it can open and read windows minidumps. Updates #794
-
由 aarzilli 提交于
Move windows register handling code to winutil package in preparation for using it in proc/core to read minidump files.
-
- 21 11月, 2018 3 次提交
-
-
由 aarzilli 提交于
If a function can be inlined it will appear as two entries in debug_info. A DW_TAG_subprogram entry with DW_AT_inlined = true (that will be used as the abstract origin) and a second DW_TAG_subprogram entry with an abstract origin. To retrieve the name of this second entry we must load its abstract origin.
-
由 aarzilli 提交于
If proc.Step encounters a CALL instruction that points to an address that isn't associated with any function it should still follow the CALL. The circumstances creating this problem do not normally occur, it was encountered in the process of fixing a bug created by Go1.12.
-
由 aarzilli 提交于
-