Derek Parker
c4eadc386b
Cleanup stopTheWorld arity
2014-11-23 10:44:28 -06:00
Derek Parker
5254c5188e
Move LockOSThread into init
2014-11-23 10:22:04 -06:00
Derek Parker
8be3ffc774
Refactor: wrap syscall.Wait4
...
Wrap syscall.Wait4 and cleanup a few coordination issues.
There are still some issues here where background threads are left
sleeping. This could potentially cause weird issues. There are a few
more things I have planned to cleanup thread coordination issues.
2014-11-22 18:57:26 -06:00
Derek Parker
582833a125
minor cleanup
2014-11-21 17:10:13 -06:00
Derek Parker
32fdfd8a2d
lower timeout wait
2014-11-21 17:02:43 -06:00
Derek Parker
aa4f08e18f
check tgkill error
2014-11-21 17:01:14 -06:00
Derek Parker
fe24276b15
Use correct tgid for kill in timeoutWait
2014-11-21 15:44:08 -06:00
Derek Parker
6fd1fbabad
Cleanup trapWait, include TODO for timeoutWait fix
2014-11-20 17:15:42 -06:00
Derek Parker
200be0e20f
Update README
2014-11-15 10:55:22 -06:00
Michael Gehring
7f17a2fdeb
Remove the -proc option and make it the default
2014-11-14 21:55:19 +01:00
Michael Gehring
2029001583
Allow launching target process with arguments
2014-11-14 21:55:19 +01:00
Michael Gehring
6d32a94cd7
Set stderr on launched processes
2014-11-14 13:52:21 -06:00
Jason Del Ponte
cdef461a60
Simplified help command message
...
* Remove hardcoded string and use command help message
* Include aliases in output
2014-11-14 09:49:54 -06:00
Jason Del Ponte
d54a3262d2
Added aliases to commands
...
Added:
- break: b
- continue: c
- step: si
- next: n
- print: p
Taken from the gdb command list
Also updated .gitignore to ignore built dlv file in cmd/dlv
2014-11-14 09:49:34 -06:00
Derek Parker
29d0cd0bde
Cleanup ignored waitstatus
2014-11-13 19:08:20 -06:00
Michael Gehring
425117a3d6
Stop target process immediately after execve.
2014-11-13 18:52:13 -06:00
Derek Parker
e7c8bdca27
minor cleanup
2014-11-13 09:44:04 -06:00
Burke Libbey
9c2ab6b749
Allow ^D (EOF) to terminate the session.
2014-11-13 09:39:08 -06:00
Burke Libbey
9bb601bbf6
ignore tags
2014-11-13 09:39:08 -06:00
Michael Gehring
2ce51ab92f
Handle missing line info in printcontext
2014-11-13 08:43:43 -06:00
Derek Parker
03b5e30bfb
Seek reader for finding goroutine info
2014-11-13 08:36:20 -06:00
Derek Parker
2ea8ff1e74
Do not panic on incorrect command arity
2014-11-12 17:40:44 -06:00
Michael Gehring
2f91684e7a
Don't panic in threads
if there is no info for pc
2014-11-12 17:28:28 -06:00
Michael Gehring
4e6ddd724d
Clear breakpoints on exit
2014-11-12 23:47:40 +01:00
Derek Parker
48a220a73c
Update README with libreadline dependency
2014-11-12 12:16:03 -06:00
Matt Self
ffeddc39a5
add exit command to help
2014-11-11 21:03:04 -07:00
Matt Self
f5b3f89a80
add exit command to docs
2014-11-11 20:41:29 -07:00
Derek Parker
2c7e083663
Fix README typo
2014-11-11 16:32:04 -06:00
Derek Parker
66186815d9
bump micro version
2014-11-11 12:11:01 -06:00
Derek Parker
dcf9f04d45
Improve variable evaluation scope
...
Properly scope variable evaluation to the function the traced process is
currently stopped in.
2014-11-10 21:26:13 -06:00
Derek Parker
af0e0286a6
Move main package to cmd for 'dlv' binary name
2014-11-10 17:48:25 -06:00
Derek Parker
1bae0c3c8a
bump micro version
2014-11-10 12:05:28 -06:00
Derek Parker
c15fafc288
Use delve instead of dlv everywhere, for now
2014-11-10 12:04:09 -06:00
Derek Parker
76c21b1ab9
Update README
2014-11-10 08:28:53 -06:00
Derek Parker
22b661d1b1
fix readline support: window resizing
2014-11-10 07:06:33 -06:00
Derek Parker
505ae44828
cleanup
2014-11-10 07:04:05 -06:00
Derek Parker
4da0dab22f
Add version info
2014-11-10 06:53:33 -06:00
Derek Parker
cb5785324d
Acknowledge runtime.breakpoint
2014-11-09 18:25:42 -06:00
Derek Parker
3afce6d7a9
Update README
2014-11-09 14:19:32 -06:00
Derek Parker
95e1654466
Add goroutines to help command
2014-11-09 13:00:35 -06:00
Derek Parker
7d69c16512
Add command to print all goroutines info
2014-11-09 12:56:21 -06:00
Derek Parker
2e99a24b4e
Update help command
2014-11-08 08:58:09 -06:00
Derek Parker
d2ebf4dc83
Add some documentation
2014-11-08 07:30:22 -06:00
Derek Parker
665ff49181
Add command to print every thread status
2014-11-07 23:55:25 -06:00
Derek Parker
6b2ee09163
Improve overall thread coordination
2014-11-07 23:45:54 -06:00
Derek Parker
4483b17bd6
Synchronize threads better when breakpoint is hit
2014-11-02 12:49:21 -06:00
Derek Parker
f26839d078
Refactor: cleanup path through addThread
2014-10-27 18:10:45 -05:00
Derek Parker
256b386136
Cleanup AttachThread
2014-10-27 17:55:55 -05:00
Derek Parker
f280ba2a3b
minor syntax cleanup
2014-10-27 17:50:47 -05:00
Derek Parker
54788de89b
remove silly function
2014-10-27 17:50:19 -05:00