Commit Graph

514 Commits

Author SHA1 Message Date
Derek Parker
248782ace8 Remove unused file 2015-06-02 08:25:36 -05:00
omie
8a05893244 added test for terminal command thread: args bound checking 2015-05-30 12:53:41 +05:30
omie
c9acc86601 added length check for args in terminal thread command 2015-05-29 22:59:02 +05:30
Derek Parker
c7dc57d44f Detach from process in tests
Prevents leaving around a bunch of zombie processes
2015-05-27 17:38:53 -05:00
Derek Parker
49667f2302 Rename thread.Process -> thread.dbp
Process is an incorrect name for the DebuggedProcess struct that the
thread is "a part" of. Also, no need to export that field.
2015-05-27 12:16:45 -05:00
Derek Parker
8f4f54d22a Add Makefile error for missing CERT on OSX 2015-05-19 14:44:09 -05:00
Derek Parker
25fd080efe Add high-res images 2015-05-19 12:25:26 -05:00
Derek Parker
fc1cfa0abc Update README
* Simplify
* Add links to wiki pages
* Add link to CONTRIBUTING doc
* Update description
2015-05-19 12:15:35 -05:00
Derek Parker
e59edcb339 Update README with logo link 2015-05-19 12:00:21 -05:00
Derek Parker
c68bb385cd Add logo/icon 2015-05-19 11:53:41 -05:00
Derek Parker
7cb6480142 Improve single test run make targets for Linux 2015-05-15 15:32:47 -05:00
Derek Parker
d73569a7b5 Add make targets for codesigned single test runs 2015-05-15 15:30:34 -05:00
Derek Parker
97fefb4a7b Use parent environment in OSX fork/exec
fixes #133
2015-05-15 15:20:51 -05:00
Derek Parker
0ee4a48686 Make test default make goal 2015-05-15 15:20:40 -05:00
Derek Parker
efc5003cdd Compile fixtures on demand, only once 2015-05-15 09:23:58 -05:00
Derek Parker
dfff9b5384 Update README 2015-05-13 15:00:43 -05:00
Kirk
2a57fa4b44 Update README.md
Added help in commands
2015-05-12 16:35:30 -07:00
Derek Parker
fb55ee9728 Fix: Use return address directly when at end of func 2015-05-11 08:17:19 -05:00
Derek Parker
72eebe5c4b Handle 'next'ing in deferred funcs 2015-05-09 12:53:25 -05:00
Derek Parker
e4a20d596a Cleanup: remove Println 2015-05-09 12:51:06 -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
33088b93ab Replace string constant with variable 2015-05-08 17:55:21 -05:00
Derek Parker
867b3ff8a1 Handle defer blocks when next'ing 2015-05-08 17:35:25 -05:00
Derek Parker
edd73c56ee Do not slice program name from argv 2015-05-08 17:34:30 -05:00
Derek Parker
228587f6ba Specify log visibility with NewServer 2015-05-08 17:26:09 -05:00
Derek Parker
819c476aa9 Do not attempt to automatically read locals/args 2015-05-08 16:43:03 -05:00
Derek Parker
4814636780 Fix: Pass args to OSX fork_exec / trim args 2015-05-08 15:28:48 -05:00
Seth W. Klein
b5c3ee4012 Default to killing process on exit
Also adds support for capitalization variants of "no" to not kill
process.
2015-05-07 23:00:46 -04:00
Seth W. Klein
31658f37dc Add default answer hint to kill process prompt
Also supports capitalized answers.
2015-05-07 22:16:39 -04:00
Derek Parker
b24abcd325 Update README 2015-05-07 16:59:38 -05:00
Derek Parker
5a408e7054 Handle NULL addrs / empty OP stacks 2015-05-07 16:55:06 -05:00
Derek Parker
df78a294e4 Protect against null strings 2015-05-07 09:34:34 -05:00
Seth W. Klein
44700737a6 Update CONTRIBUTING.md to not abbreviate dlv -version 2015-05-07 00:34:38 -04:00
Dan Mace
ecb8e8a42a Consolidate test support/setup
Add a test support package which allows shared test functionality
for both the unit and integration tests.

Tests importing the proctl/test package will gain access to a special
test entrypoint which precompiles fixtures and makes them available
to tests.
2015-05-04 17:44:40 -05:00
Derek Parker
794d5b1e19 Revert errors.New change 2015-05-04 17:31:13 -05:00
epipho
0358c174ad Moving history file to .dlv config directory 2015-05-04 17:11:08 -05:00
Derek Parker
471615fb0b Use symbol table for function lookup in evaluation 2015-05-03 14:11:17 -05:00
Dan Mace
064462e5b5 Support a headless server mode
Add a -headless flag which runs only the debugger server until
a SIGINT is received.
2015-05-02 14:42:47 -05:00
Dan Mace
ca2508af6b Suppress output of HTTP error from client
Introduce a client error type which preserves HTTP error information
but which doesn't render the HTTP details by default.
2015-05-02 14:38:38 -05:00
Derek Parker
1ad66660a1 Prefer errors.New for unformatted errors 2015-05-01 16:27:29 -05:00
Derek Parker
6cadeb41fc Pass kill signal to ptrace_detach 2015-05-01 15:50: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
9040ec1af1 Only detach if not killing process 2015-05-01 15:14:58 -05:00
Derek Parker
c414c72ec9 Return regs from saveRegisters function 2015-05-01 08:34:09 -05:00
Derek Parker
f7632eb5b0 Restore stack after curG function call 2015-04-30 19:52:28 -05:00
Derek Parker
f9c64d30c2 Clean up documentation 2015-04-30 08:39:04 -05:00
Derek Parker
0556eb925d Code organization 2015-04-30 08:38:00 -05:00
Derek Parker
73a5c7c246 Fix: replay last command on empty string 2015-04-29 23:38:01 -05:00