Derek Parker
|
39945498a8
|
Improve 'next': return into deferred func
|
2015-05-09 12:44:38 -05:00 |
|
Derek Parker
|
2cfbc2937f
|
Refactor: replace dwarf.Reader with wrapped reader
|
2015-05-09 11:25:26 -05:00 |
|
Derek Parker
|
544f20992f
|
Refactor parseG function
|
2015-05-09 10:37:16 -05:00 |
|
Derek Parker
|
df78a294e4
|
Protect against null strings
|
2015-05-07 09:34:34 -05:00 |
|
Derek Parker
|
794d5b1e19
|
Revert errors.New change
|
2015-05-04 17:31:13 -05:00 |
|
Derek Parker
|
471615fb0b
|
Use symbol table for function lookup in evaluation
|
2015-05-03 14:11:17 -05:00 |
|
Derek Parker
|
1ad66660a1
|
Prefer errors.New for unformatted errors
|
2015-05-01 16:27:29 -05:00 |
|
Derek Parker
|
2b5a9155e6
|
Use Arch struct for arch specific values
|
2015-04-29 12:07:27 -05:00 |
|
Derek Parker
|
6df90f325d
|
Rename CurrentPC -> PC
|
2015-04-23 10:40:33 -05:00 |
|
Derek Parker
|
ce01e0f4bc
|
Improve documentation around internal types
|
2015-04-22 11:42:58 -05:00 |
|
Derek Parker
|
58db8322ef
|
Improve chan / goroutine coordination
* Properly find next source line for goroutines blocked in chanrecv
* Refactor breakpoint clearing
* Refactor temp breakpoint setting
|
2015-04-19 17:15:34 -05:00 |
|
Derek Parker
|
42a57ad285
|
Move print goroutine info into command
* DebuggedProcess method: `PrintGoroutinesInfo` -> `GoroutinesInfo`
* `goroutines` command in command/command.go now responsible for
printing info.
|
2015-04-09 09:53:02 -05:00 |
|
Derek Parker
|
1d99e03f83
|
Reduce exported members of DebuggedProcess struct
|
2015-04-03 11:10:35 -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
|
2d2d70641e
|
(Mostly) working on OS X
|
2015-02-27 15:03:06 -06:00 |
|
epipho
|
6b843c18eb
|
Removed debugging printf
|
2015-02-04 13:15:10 -05:00 |
|
epipho
|
46b5348455
|
Comment cleanup. Added info vars reference to docs
|
2015-02-04 13:15:10 -05:00 |
|
epipho
|
c7fe4e3e88
|
Added limit to array size (64) and struct member recursion (2) when printing
|
2015-02-04 13:15:10 -05:00 |
|
epipho
|
fe8e85e341
|
Start of info vars
|
2015-02-04 13:15:10 -05:00 |
|
epipho
|
5231b06a6b
|
Added handler for unknown and void types. Handle nil fn pointers.
|
2015-02-04 13:15:09 -05:00 |
|
epipho
|
1782e13f74
|
Genericized slice reading
|
2015-01-20 01:37:52 -05:00 |
|
epipho
|
e2236664dd
|
Genericized array reading
|
2015-01-20 00:32:08 -05:00 |
|
epipho
|
99b614a028
|
Adding support for reading function pointers and mapping them to function names
|
2015-01-19 23:15:40 -05:00 |
|
epipho
|
056df44318
|
Support for uint and boolean types
|
2015-01-19 22:18:17 -05:00 |
|
epipho
|
67ad85feec
|
readString can now read strings of any length as well as sliced strings
|
2015-01-19 19:30:15 -05:00 |
|
Derek Parker
|
76076791b9
|
Fix stack frame calculation bug
There were certain instances where the calculation of the stack frame
was incorrect, causing for garbage to be returned by a print command.
|
2015-01-16 15:30:22 -06:00 |
|
Derek Parker
|
6acb912a0c
|
Minor comment cleanup
|
2015-01-02 10:09:32 -06:00 |
|
epipho
|
7c61e2a1cb
|
EvalSymbol supports evaluating struct members on pointers. Fixed panic
when evaluating a nil pointer.
|
2015-01-02 10:02:56 -06:00 |
|
Derek Parker
|
1289f38f87
|
kill whitespace
|
2014-12-31 15:54:52 -06:00 |
|
epipho
|
2c5527c6c9
|
Refactor member variable evaluation so it works in all cases
|
2014-12-31 16:20:26 -05:00 |
|
epipho
|
ed6d4049b6
|
Extracting common dwarf reader functionality into its own area
|
2014-12-31 11:46:58 -06:00 |
|
epipho
|
c0fd1a0295
|
Refactor extractValue so OP_DW_addr will work
|
2014-12-31 02:41:25 -05:00 |
|
epipho
|
07940dc59e
|
Added info locals and info args commands
|
2014-12-30 12:58:44 -05:00 |
|
Derek Parker
|
cc8563a2a2
|
Remove unnecessary type conversion
|
2014-12-30 09:23:22 -06:00 |
|
Derek Parker
|
849a201d4a
|
Extract function to set slice len
|
2014-12-29 21:05:22 -06:00 |
|
Derek Parker
|
4dce356497
|
Slight improvement for readIntSlice
|
2014-12-29 20:59:52 -06:00 |
|
Derek Parker
|
d7684de92d
|
Use ptrsize instead of assuming
|
2014-12-29 17:04:08 -06:00 |
|
Derek Parker
|
46be509d6a
|
Improve array type output
|
2014-12-29 16:59:41 -06:00 |
|
Derek Parker
|
623ec5e53d
|
Improve array evaluation support
* First of a few commits to allow for evaluating arrays of arbitrary
types
* Adds support for 32 bit integer arrays
|
2014-12-28 22:37:18 -06:00 |
|
Derek Parker
|
04da3fcbc8
|
Don't assume pointer size
|
2014-12-19 23:10:32 -06:00 |
|
Derek Parker
|
8e40467c95
|
Use ByteSize for reading string size
|
2014-12-19 23:10:32 -06:00 |
|
Derek Parker
|
2d21cad8dc
|
Support Go1.4rc1
|
2014-12-10 22:31:12 -06:00 |
|
Derek Parker
|
e0738c417c
|
Remove helper file & further isolate linux code
|
2014-12-09 10:51:17 -06:00 |
|
Derek Parker
|
12949e3406
|
Remove linux build requirement on variables source file
|
2014-12-08 22:33:52 -06:00 |
|