Derek Parker
794d5b1e19
Revert errors.New change
2015-05-04 17:31:13 -05:00
Derek Parker
1ad66660a1
Prefer errors.New for unformatted errors
2015-05-01 16:27:29 -05:00
Derek Parker
e8edb043d7
Do not print notifications for new threads
...
This information is hardly going to be useful to a user of Delve and if
the user really needs information on new threads they can simply using
the provided commands to list and switch between threads.
2015-05-01 15:37:17 -05:00
Derek Parker
92c1ae3a1e
Refactor Darwin Launch
2015-04-25 15:13:00 -05:00
Derek Parker
efd1f391f2
Fix: Darwin single step state setting
2015-04-25 14:53:55 -05:00
Derek Parker
173ee20097
Fix: properly handle random signals
...
* Ignore signals we do not care about
* Implement custom fork/exec for Darwin to convert signals to mach
exceptions
2015-04-25 13:02:45 -05:00
Derek Parker
91ebc8d132
Make trapWait method on DebuggedProcess
2015-04-23 10:42:28 -05:00
Derek Parker
20c9e92cec
Improve handling of manual stops
2015-04-13 17:17:06 -05:00
Derek Parker
e5a4a5ae9b
Set CurrentBreakpoint on DebuggedProcess
2015-04-09 10:01:58 -05:00
Derek Parker
1d99e03f83
Reduce exported members of DebuggedProcess struct
2015-04-03 11:10:35 -05:00
Derek Parker
ccad114ed1
DRY code duplicated across OSes
2015-04-03 10:52:31 -05:00
Derek Parker
e4426fa51f
Return breakpoint directly from trapWait
2015-04-03 10:47:27 -05:00
Derek Parker
e7a9daf248
Return thread directly from trapWait
2015-04-03 10:32:43 -05:00
Derek Parker
86e1530524
Improve next
implementation
...
* Better tracking of current goroutine
* More efficient, eliminates superfluous step syscalls
* Handles concurrency and thread coordination better
2015-03-31 17:12:45 -05:00
Derek Parker
684dc92ccd
Improve handling of process natural death (OS X)
2015-03-21 17:33:35 -05:00
Derek Parker
b8693f6d1a
Properly restore vm protections in OS X
2015-03-20 23:48:57 -05:00
Derek Parker
f8a9a410fb
Remove MIG generated exception / message handling
...
This allows greater flexibility for using a port set and determining
whether the wait returned due to a breakpoint or process natural death.
2015-03-20 16:07:26 -05:00
Derek Parker
e616b7fab6
Stop debugged proc on ctrl-c (OS X)
2015-03-13 15:13:41 -05:00
Derek Parker
0660fcc09b
Reap child process for status (OS X)
2015-03-06 17:28:53 -06:00
Ivar Gaitan
8b04d877a0
Handle process natural death a bit better
2015-03-06 17:03:08 -06:00
Derek Parker
03b17821c8
Inline function
2015-02-28 22:10:39 -06:00
Derek Parker
ac914fe14a
Organize code a bit more
2015-02-28 22:08:42 -06:00
Derek Parker
c7cc84fa83
More cleanup
2015-02-28 21:34:55 -06:00
Derek Parker
450e5c4805
Fix linux compile errors
2015-02-27 17:13:35 -06:00
Derek Parker
7f52928c03
Cleanup of printing and putsing
2015-02-27 15:27:48 -06:00
Derek Parker
2d2d70641e
(Mostly) working on OS X
2015-02-27 15:03:06 -06:00