закешированный к нам в целях безопасности дебаггер
Go to file
aarzilli 438e51f330 proc: replace SavedRegisters interface with a Copy method
Fncall.go was written with the assumption that the object returned by
proc.Thread.Registers does not change after we call
proc.Thread.SetPC/etc.

This is true for the native backend but not for gdbserial. I had
anticipated this problem and introduced the Save/SavedRegisters
mechanism during the first implementation of fncall.go but that's
insufficient.

Instead:

1. clarify that the object returned by proc.Thread.Registers could
   change when the CPU registers are modified.
2. add a Copy method to Registers that returns a copy of the registers
   that are guaranteed not to change when the CPU registers change.
3. remove the Save/SavedRegisters mechanism.

This solution leaves us the option, in the future, to cache the output
of proc.(Thread).Registers, avoiding a system call every time it's
called.
2018-08-30 15:48:10 -07:00
_fixtures proc: fix type of some struct global variables 2018-08-29 16:16:20 -07:00
assets Add high-res images 2015-05-19 12:25:26 -05:00
cmd/dlv cmd/dlv: use the same connect code whether or not we started the server 2018-08-14 12:23:28 -07:00
Documentation terminal: updated call description 2018-08-16 12:44:02 -07:00
pkg proc: replace SavedRegisters interface with a Copy method 2018-08-30 15:48:10 -07:00
scripts pkg/proc, pkg/dwarf/op: support DW_OP_piece, DW_OP_regX, DW_OP_fbreg 2017-11-21 11:51:02 -08:00
service proc: fix type of some struct global variables 2018-08-29 16:16:20 -07:00
vendor *: Update vendor 2018-06-22 09:45:10 +02:00
.gitattributes makefile: use git's $Id$ instead of setting ver.Build in makefile (#807) 2017-04-28 10:14:33 -07:00
.gitignore git: Update gitignore 2015-10-20 20:55:11 -07:00
.travis.yml Add function call support for OSX 2018-08-30 15:48:10 -07:00
appveyor.yml *: Update appveyor.yml 2017-05-27 14:12:31 +02:00
CHANGELOG.md all: Bump to v1.1.0 2018-08-16 13:20:21 -07:00
CONTRIBUTING.md Update CONTRIBUTING.md 2016-05-13 10:43:09 +08:00
glide.lock *: Update vendor 2018-06-22 09:45:10 +02:00
glide.yaml *: Update vendor 2018-06-22 09:45:10 +02:00
ISSUE_TEMPLATE.md misc: Include issue template for GitHub 2016-03-03 10:40:14 -08:00
LICENSE Add License and README 2014-05-03 15:31:52 -05:00
Makefile all: Spelling 2018-03-20 11:05:35 +01:00
README.md Documentation: better documentation menu, add guide to writing a client 2018-07-02 09:35:27 -07:00

Delve

license GoDoc Build Status Build status Join the chat at https://gitter.im/derekparker/delve

The Github issue tracker is for bugs only. Please use the developer mailing list for any feature proposals and discussions.

About Delve

Delve is a debugger for the Go programming language. The goal of the project is to provide a simple, full featured debugging tool for Go. Delve should be easy to invoke and easy to use. Chances are if you're using a debugger, things aren't going your way. With that in mind, Delve should stay out of your way as much as possible.