aarzilli
141fc4ed21
proc/eval: support for simple builtin functions
...
supported: len, cap, imag, real, complex
2015-12-15 15:18:52 -08:00
aarzilli
43b64ec39e
proc: Implements expression interpreter
...
Supported operators:
- All (binary and unary) operators between basic types except <-,
++ and -- (includes & to take the address of an expression)
- Comparison operators between supported compound types
- Typecast of integer constants into pointer types
- struct members
- indexing of arrays, slices and strings
- slicing of arrays, slices and strings
- pointer dereferencing
- true, false and nil constants
Implements #116 , #117 and #251
2015-11-04 12:28:48 +01: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
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
4a70f6af45
Update AddrForMember documentation.
2015-06-17 20:41:24 -05:00
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
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
epipho
46b5348455
Comment cleanup. Added info vars reference to docs
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
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