464 Commits

Author SHA1 Message Date
6b3d724fdc Return error if thread_resume fails on suspend_count > 0 2015-03-21 17:05:45 -05:00
530f66dcf6 Remove erroneous vm deallocation 2015-03-21 17:05:13 -05:00
7ec9240d16 Makefile should clean up after itself 2015-03-21 17:04:12 -05:00
8ad5639c5e Fix C file formatting 2015-03-21 15:05:09 -05:00
b8693f6d1a Properly restore vm protections in OS X 2015-03-20 23:48:57 -05:00
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
123264b9a2 Added Term object (terminal or terminator) that wraps the liner.State object so that it can be closed properly on exit. Changed a few functions (die, promptForInput, etc.) to be methods for Term. 2015-03-15 17:31:39 -07:00
e616b7fab6 Stop debugged proc on ctrl-c (OS X) 2015-03-13 15:13:41 -05:00
4729ae828b Allow arbitrary switching between threads 2015-03-13 14:50:01 -05:00
9f70f43f5c Update thread printing, now denotes current thread
Also refactored code a bit, removed printing functions from proctl
package and inlined them into command.
2015-03-11 18:08:20 -05:00
8a911d7fd2 Fix version flag 2015-03-09 09:03:54 -05:00
bb4356b713 Add test sub command
Allows compiling a test binary and debugging it.
2015-03-08 22:59:37 -05:00
0125e300cd Fix help formatting 2015-03-08 22:01:14 -05:00
4e43b0f8c0 Use subcommands instead of flags 2015-03-08 21:26:45 -05:00
11405314d8 Continue thread properly taking into account suspend_count 2015-03-07 18:27:03 -06:00
0660fcc09b Reap child process for status (OS X) 2015-03-06 17:28:53 -06:00
8b04d877a0 Handle process natural death a bit better 2015-03-06 17:03:08 -06:00
f39e134d1d Improve error for HW breakpoint 2015-03-06 08:53:55 -06:00
0b3cf1cd15 Add command to print active breakpoints 2015-03-06 08:53:54 -06:00
464a6b96fe Fix FDE lookup at function entry
Also, rearrange and cleanup file a bit.

Fixes #72
2015-03-02 19:10:55 -06:00
d4d8f1ce58 Update documentation 2015-03-02 18:06:04 -06:00
0726aec193 Fix makefile install target 2015-03-01 15:37:19 -06:00
5705013f73 Bump version to 0.5.0.beta
Notable changes:
* OS X support
* Pure Go readline library
* Fixes issues debugged cgo enabled programs
* Substantial refactoring / code cleanup

Fixes #3 #29 #70
v0.5.0.beta
2015-03-01 10:43:03 -06:00
0e55c0cbcb Cleanup typo 2015-03-01 10:17:30 -06:00
c158939998 Fix readline history 2015-03-01 10:15:16 -06:00
c4f90625f6 Fix linux build 2015-03-01 11:02:17 -05:00
562a6fcca0 Fix mach kernal deallocations 2015-03-01 09:46:01 -06:00
03b17821c8 Inline function 2015-02-28 22:10:39 -06:00
ac914fe14a Organize code a bit more 2015-02-28 22:08:42 -06:00
2b76fee539 Inline function 2015-02-28 22:03:26 -06:00
9f05f444eb Cleanup TODOs 2015-02-28 21:53:26 -06:00
c7cc84fa83 More cleanup 2015-02-28 21:34:55 -06:00
0ba45f8487 Cleanup 2015-02-28 21:14:22 -06:00
cd30ca6cb4 Remove defs file 2015-02-28 21:14:13 -06:00
134a53bcf7 Update makefile 2015-02-28 21:08:43 -06:00
f3019b7478 Prefer makefile to shell script 2015-02-28 21:07:08 -06:00
4d918aeb2c Handle more kern return values and general cleanup 2015-02-28 10:44:36 -06:00
b065674fe3 Handle set_pc errors 2015-02-28 10:41:05 -06:00
636719a4c6 Handle thread_get_state errors 2015-02-28 10:39:21 -06:00
77725b3d66 Cleanup kernel allocations 2015-02-28 10:35:44 -06:00
f4ec73bb62 Fix hanging issue on Linux 2015-02-28 09:05:37 -05:00
27f68abebd Fix Linux panic 2015-02-27 22:35:26 -05:00
450e5c4805 Fix linux compile errors 2015-02-27 17:13:35 -06:00
35a0471fd6 Update more exc files for cond compilation 2015-02-27 15:32:47 -06:00
fc4469b460 Rename exc files for conditional compilation 2015-02-27 15:31:07 -06:00
7f52928c03 Cleanup of printing and putsing 2015-02-27 15:27:48 -06:00
52c8f8e972 Remove readline dep 2015-02-27 15:03:16 -06:00
2d2d70641e (Mostly) working on OS X 2015-02-27 15:03:06 -06:00
533a534560 Update README 2015-02-23 23:36:03 -05:00
201981b91c Remove Travis support
Currently Travis supports only Ubuntu 12.04 linux 2.6 VMs which are
terribly outdated, and trying to track down why it's hanging on Travis
but not on other similar VMs is more trouble than it's worth at the
moment.

Certainly another more appropriate and up to date CI solution should be
explored.
2015-02-18 09:46:02 -06:00