Derek Parker
392abbda09
Conditionally set ld flags in Makefile for Go version
...
Passing the '-s' flag to the linker in < Go 1.5 emits an error and
produces a binary that, once codesigned (I believe) will cause an
immediate bus error and terminate.
2015-07-31 13:43:35 -05:00
Derek Parker
e2d92a1104
Extract constant for breakpoint line in test
2015-07-30 12:11:10 -05:00
Michael Gehring
2d79acd2fe
more variable test fixes
2015-07-30 18:00:23 +02:00
Michael Gehring
9f3f77ce31
add complex types to TestVariableEvaluation
2015-07-30 17:37:17 +02:00
Michael Gehring
720a592348
Make info locals understand/print complex types
...
Fixes #192
2015-07-30 17:07:08 +02:00
Derek Parker
5ede17491e
Refactor terminal exit command
2015-07-29 18:19:06 -05:00
Joe Shaw
d275393488
Add bt alias for stack, quit and q for exit
...
Fixes #182
2015-07-29 18:04:23 -05:00
Derek Parker
e5b20612e5
Reformat output of 'help' command
2015-07-29 17:49:23 -05:00
Joe Shaw
6680648ef8
fix dlv version typo
2015-07-29 09:29:04 -04:00
Derek Parker
e9b3a9eac1
Remove duplicate command alias
2015-07-29 08:21:35 -05:00
Derek Parker
a506bb7d8e
Finish support for Go1.5beta2
2015-07-28 18:56:55 -05:00
Derek Parker
bcbda1dba3
Rename version.After to version.AfterOrEqual
2015-07-28 15:42:56 -05:00
aarzilli
311da7c314
bugfix: version string parsing support for beta versions and tolerance for devel versions
...
fixes issue #179
2015-07-28 15:15:45 -05:00
Derek Parker
8cd8118137
Update Makefile build flags
...
For more information see: https://github.com/golang/go/issues/11887
2015-07-28 14:28:03 -05:00
Derek Parker
77604eff81
Improve code documentation
2015-07-28 13:37:55 -05:00
Derek Parker
15b7c6e562
Send kill signal to process group on Linux
2015-07-28 13:31:54 -05:00
Derek Parker
544c4ccc3d
Add more documentation around darwin fork_exec
2015-07-28 12:23:36 -05:00
Derek Parker
a6fc8d11a7
Create new session/process grp for forked process
2015-07-28 12:20:07 -05:00
aarzilli
a0115e3a15
bugfix: Issue #170 (partial) set function breakpoints on the first instruction
...
the entry point of a function is the beginning of the prologue, which can be run multiple times for each invocation of a function if the stack needs to be expanded or the scheduler needs to be run.
2015-07-28 08:16:20 -05:00
aarzilli
a353735715
Breakpoints are hit multiple times or skipped sometimes (tests)
2015-07-28 08:13:46 -05:00
Derek Parker
d6920d96d6
Update README
2015-07-28 08:03:57 -05:00
Derek Parker
051ea39f2c
Remove superfluous Kill method call in test
...
The process will already be killed via withTestProcess
2015-07-28 07:54:26 -05:00
Derek Parker
c0ba4681c9
Use boolean zero value instead of setting false
2015-07-28 07:52:29 -05:00
Derek Parker
510133ae5a
Return after error parsing version string
2015-07-28 07:51:09 -05:00
aarzilli
0933a681cf
proc.(*Thread).GetG: reading TLS memory directly for g address instead of modifying the executable code
2015-07-28 07:33:51 +02:00
aarzilli
d0f3459efb
bugfix, Issue #163 : offset of g struct in TLS picked based on the value of runtime.buildVersion and presence of compile units created by GNU AS, instead of being fixed to -16
2015-07-28 07:33:51 +02:00
aarzilli
efb5ef97c7
bugfix: rpc.(*RPCClient).AttachedToExistingProcess calling the wrong function, this would result in the terminal frontend always killing a process it was attached to
2015-07-25 21:26:37 -05:00
aarzilli
18a6124833
Flags of root command (listen, log, headless) should be inherited by all the child commands
2015-07-25 21:26:37 -05:00
Marko Bencun
ae1076ec39
Put '> ' in front of the location marker.
...
This makes parsing by external tools much easier.
It is consistent with pdb.
2015-07-25 21:24:59 -05:00
netmml
8faeaecb97
Update README.md
2015-07-25 21:21:05 -05:00
netmml
d99d5321f3
Update README.md
2015-07-25 21:21:05 -05:00
Derek Parker
df2bf3cb63
Fix comment typos
2015-07-16 13:07:34 -05:00
Derek Parker
1727df4b1b
Fix: Properly attach to running process on OSX
2015-07-15 20:37:43 -05:00
Derek Parker
b32afd92ad
Add test for kevent patch
2015-07-15 19:57:54 -05:00
Derek Parker
0ab44d10ea
Handle thread blocked on kevent
2015-07-14 09:51:52 -05:00
Derek Parker
c96d0a5ab2
Add pid flag to trace subcommand
2015-07-13 19:20:37 -05:00
Derek Parker
3cee10d8bc
Implement 'trace' subcommand
...
Allows a user to execute `dlv trace [regexp]` and Delve will execute the
program and output information on functions matching [regexp].
2015-07-12 15:20:12 -05:00
Derek Parker
c6ca18ff07
Prefer anonymous functions with return status for defers
2015-07-11 14:51:54 -05:00
Derek Parker
f848eb0d14
Update dlv help output
2015-07-11 10:31:15 -05:00
Derek Parker
317057aa2a
Properly handle infinite for loops when next'ing
2015-07-11 10:21:42 -05:00
Derek Parker
1b55fa8325
Fix typo
2015-07-11 09:34:08 -05:00
Derek Parker
39dc49cd82
Bump minor version
2015-07-11 09:29:40 -05:00
Derek Parker
28bc9d1ce7
Print 'exit' upon ctrl-d EOF
2015-07-11 09:28:29 -05:00
Derek Parker
d75ac75195
Replace hand-rolled cli interface with Cobra
2015-07-11 09:28:08 -05:00
Derek Parker
40284111d4
Kill process outright if manually forked
2015-07-11 01:43:47 -05:00
Derek Parker
e6448556fa
Cleanup whitespace
2015-07-10 20:16:06 -05:00
Derek Parker
98da14b078
Add comments to proc.Detach
2015-07-10 15:57:32 -05:00
Derek Parker
d8418c6506
Update README
2015-07-10 15:54:56 -05:00
Derek Parker
8107955039
Remove accidental GOMAXPROCS call in proc
2015-07-10 15:52:49 -05:00
Derek Parker
1ce255ffa3
Remove any printing from core proc package
...
Also, reorganizes some code.
Initially, the `proc` package emitted a lot of output. Now, that should
not be the case. The `proc` package should never print, for any reason.
That should be handled by clients.
2015-07-10 15:48:51 -05:00