- 14 8月, 2019 4 次提交
-
-
由 Alessandro Arzilli 提交于
-
由 Alessandro Arzilli 提交于
threadUpdater needs to be reset before every possible use. Fixes #1659
-
由 pjot726 提交于
-
由 David Chase 提交于
Intent here is to bring optargorder up to date with delve and keep it in sync (and to use optargorder to help monitor compiler output for debugging quality regressions).
-
- 13 8月, 2019 2 次提交
-
-
由 Alessandro Arzilli 提交于
proc.Next and proc.Step will call, after setting their temp breakpoints, curthread.SetCurrentBreakpoint. This is intended to find if one of the newly created breakpoints happens to be at the same instruction that curthread is stopped at. However SetCurrentBreakpoint is intended to be called after a Continue and StepInstruction operation so it will also detect if curthread is stopped one byte after a breakpoint. If the instruction immediately preceeding the current instruction of curthread happens to: 1. have one of the newly created temp breakpoints 2. be one byte long SetCurrentBreakpoint will believe that we just hit that breakpoint and therefore the instruction should be repeated, and thus rewind the PC of curthread by 1. We should distinguish between the two uses of SetCurrentBreakpoint and disable the check for "just hit" breakpoints when inappropriate. Fixes #1656
-
由 David Chase 提交于
-
- 12 8月, 2019 1 次提交
-
-
由 Alessandro Arzilli 提交于
-
- 10 8月, 2019 8 次提交
-
-
由 Derek Parker 提交于
Moves EvalScope methods to the proper file and organizes everything together. Also makes some EvalScope methods no longer methods and just pure functions.
-
由 Derek Parker 提交于
Remove `initialized` member in favor of just deriving the information it represented.
-
由 Derek Parker 提交于
-
由 Derek Parker 提交于
The methods for the BinaryInfo and Image structs were spread around in multiple files. This patch just brings them all under one file.
-
由 Derek Parker 提交于
-
由 Derek Parker 提交于
More untangling. Arch doesn't actually need to know anything about a Goroutine.
-
由 Derek Parker 提交于
This is going towards untangling proc in order to clean it up.
-
由 Derek Parker 提交于
Cleanup some unused members.
-
- 02 8月, 2019 2 次提交
-
-
由 Alessandro Arzilli 提交于
* proc: fix stacktraces when a SIGSEGV happens during a cgo call When a SIGSEGV happens in a cgo call (for example as a result of dereferencing a NULL pointer) the stack layout will look like this: (system stack) runtime.fatalthrow (system stack) runtime.throw (system stack) runtime.sigpanic (system stack) offending C function ... other C functions... (system stack) runtime.asmcgocall (goroutine stack) call inside cgo The code in switchStack would switch directly from the runtime.fatalthrow frame to the first frame in the goroutine stack, hiding important information. Disable this switch for runtime.fatalthrow and reintroduce the check for runtime.mstart that existed before this version of the code was implemented in commit 7bec20. This problem was reported in comment: https://github.com/go-delve/delve/issues/935#issuecomment-512182533 * cmd/dlv: actually disable C compiler optimizations when building
-
由 Alessandro Arzilli 提交于
* scripts: use relative path in gen-cli-docs.go Makes gen-cli-docs.go work outside GOPATH. * Documentation,cmd/dlv: tidy up --help output The description of --log-dest, --log-output and --backend is very verbose and messes up the output of --help, move it to two "additional help" subcommands.
-
- 01 8月, 2019 2 次提交
-
-
由 Steve Mynott 提交于
* alias stepout to so * run gen-cli-docs.go to update cli/README.md
-
由 Alessandro Arzilli 提交于
For some reason the version of dwz in Travis-CI now fails to run on Go binaries. Ignore the particular error.
-
- 30 7月, 2019 2 次提交
-
-
由 Derek Parker 提交于
* *: Add .cirrus.yml for FreeBSD testing * *: run go mod tidy * service/test: prefer 127.0.0.1 over localhost * dwarf/line: fix TestDebugLinePrologueParser * vendor: rerun go mod vendor
-
由 Jeremy Faller 提交于
* terminal/command: add support for next [count] * disallow negative counts. * handle github comments, and regen docs. * Fix the fact that we don't print the file info in the last step of the next count. * Fix a typo, cleanup a few other observations.
-
- 28 7月, 2019 1 次提交
-
-
由 Alessandro Arzilli 提交于
Implements #1640
-
- 27 7月, 2019 2 次提交
-
-
由 Alessandro Arzilli 提交于
-
由 Alessandro Arzilli 提交于
GCC produces DW_TAG_inlined_subroutine entries without a DW_AT_abstract_origin attribute. From the bug report: <1><1fe6c7c>: Abbrev Number: 41 (DW_TAG_subprogram) <1fe6c7d> DW_AT_external : 1 <1fe6c7d> DW_AT_name : (indirect string, offset: 0x485814): MultiGetImpl (omissis) <2><1fe6c9e>: Abbrev Number: 65 (DW_TAG_inlined_subroutine) <1fe6c9f> DW_AT_low_pc : 0x311023a <1fe6ca7> DW_AT_high_pc : 0x5 <1fe6caf> DW_AT_call_file : 10 <1fe6cb0> DW_AT_call_line : 1690 <2><1fe6cb2>: Abbrev Number: 20 (DW_TAG_inlined_subroutine) <1fe6cb3> DW_AT_abstract_origin: <0x1ffb534> <1fe6cb7> DW_AT_entry_pc : 0x311023f <1fe6cbf> DW_AT_ranges : 0xe9bf20 <1fe6cc3> DW_AT_call_file : 10 <1fe6cc4> DW_AT_call_line : 1690 Inlined subroutine at 1fe6c9e doesn't have abstract origin, a name or a declaration location. It's unclear whether this is in-standard and what it even means. Let's ignore it. Fixes #1636
-
- 24 7月, 2019 2 次提交
-
-
由 Alessandro Arzilli 提交于
Propagate signals when stepping because debugserver will report them, from the issue: 2019-07-11T16:31:25+02:00 debug layer=gdbconn <- $z0,105525d,1#c9 2019-07-11T16:31:25+02:00 debug layer=gdbconn -> $OK#00 2019-07-11T16:31:25+02:00 debug layer=gdbconn <- $vCont;s:c41c3#50 2019-07-11T16:31:25+02:00 debug layer=gdbconn -> $T1cthread:c41c3;threads:c41c3,c41d7,c41d8,c41d9,c41da;thread-pcs:105525d,7fffc464bf46,7fffc464bbf2,7fffc464bbf2,7fffc46... 2019-07-11T16:31:25+02:00 debug layer=gdbconn <- $Z0,105525d,1#a9 2019-07-11T16:31:25+02:00 debug layer=gdbconn -> $OK#00 in this case we request a single step on thread c41c3 but debugserver reports instead a signal (in this case SIGWINCH). Fixes #1610
-
由 Michail Safronov 提交于
* add max-variable-recurse parameter
-
- 20 7月, 2019 1 次提交
-
-
由 Brian de Alwis 提交于
* Add --continue to continue process on launch/attach * Add small test of --continue * regenerate usage docs * minor cleanup * Use similar approach to `trace` and connect and detach using a client instance * back out previous attempt * regen usage doc * fix up continue test * fix TestContinue to properly test --continue * back out unnecessary changes * update faq
-
- 18 7月, 2019 3 次提交
-
-
由 Brian de Alwis 提交于
-
由 Alessandro Arzilli 提交于
If we return ErrProcessExited we should also set exited to true.
-
由 Alessandro Arzilli 提交于
Go 1.13 insists on adding a go version to go.mod, add one that makes sense.
-
- 17 7月, 2019 2 次提交
-
-
由 Alessandro Arzilli 提交于
Add variables flag to mark variables that are allocated on a register (and have no address) and variables that we read as result of a function call (and are allocated on a stack that no longer exists when we show them to the user).
-
由 Alessandro Arzilli 提交于
Increases the maximum string length from 64 to 1MB when loading strings for a binary operator, also delays the loading until it's necessary. This ensures that comparison between strings will always succeed in reasonable situations. Fixes #1615
-
- 13 7月, 2019 2 次提交
-
-
由 Robert Ayrapetyan 提交于
* FreeBSD initial support * first code review fixes * regs slice upd * execPtraceFunc wrap * disabled concurrency tests fixed kill() issue * disabled concurrency tests fixed kill() issue * cleanup vendor related code * cleanup ptrace calls * vendoring latest changes * Revert "vendoring latest changes" This reverts commit 833cb87b * vendoring latest changes * requested changes
-
由 qingyunha 提交于
-
- 09 7月, 2019 6 次提交
-
-
由 Derek Parker 提交于
-
由 Derek Parker 提交于
-
由 Derek Parker 提交于
-
由 Derek Parker 提交于
Remove dependancy on glide and instead switch completely over to using `go mod vendor` as our vendor solution.
-
由 dpapastamos 提交于
Support for rev {next,step} is not currently implemented.
-
由 Alessandro Arzilli 提交于
Fixes #1598
-