Commit graph

33 commits

Author SHA1 Message Date
rsc
3bd56b04a8 NetBSD-macppc ctype needs uchars. 2005-09-09 23:16:15 +00:00
rsc
783aadbdcd better handling of failed setproc 2005-02-11 19:44:37 +00:00
rsc
7b8a3f12c7 remove threadregs; use %# explicitly; use attachargs 2005-02-11 16:54:59 +00:00
rsc
5a2237bb22 tweak 2005-02-11 16:54:25 +00:00
rsc
211073f16a set corpid 2005-02-11 16:44:04 +00:00
rsc
281c90a5be more pthread 2005-02-11 00:01:49 +00:00
rsc
4f2ac1b76b Working on better handling of multithreading in general
and core dumps in particular.  See notes:

new types: register is something that when dereferenced gives you
	the registers.  the Ureg is no longer mapped at 0.
	refconst is something that gives a constant when dereferenced.

new builtin register("AX") creates register values
new builtin refconst(0x123) creates refconst values

new builtin var("foo") is equivalent to the variable foo
	(it returns foo but can also be used as the lhs of an assignment).

new acid function getregs() returns a list of the current values of registers.
new acid function setregs() sets the current registers to those values.
	note that getregs and setregs operate on register locations, not the
		register values themselves.
new acid function resetregs() sets registers to register("AX"), etc.
new acid function clearregs() sets all registers to constant -1.
the default register settings are as in resetregs(), not small numbers.

new acid variables coretext, pids, systype, corefile, cmdline.

new behavior: local variable lookup, stk, etc., use the acid values of registers
	(*PC, *SP, and so on), so the thread support code can change the context
	completely.

unary + is applicable to more data types and prints more often.
2005-01-23 22:48:19 +00:00
rsc
170d47ee1f print core cmd 2005-01-18 20:26:12 +00:00
rsc
5579b860db check for lack of registers 2005-01-18 20:17:28 +00:00
rsc
87ccb5f9cf nil deref 2005-01-17 15:37:27 +00:00
rsc
9268e33d65 stupid sun 2005-01-14 18:25:05 +00:00
rsc
c8b6342d3c Many small edits. 2005-01-13 04:49:19 +00:00
rsc
8b549a6214 symopen 2005-01-07 20:45:11 +00:00
rsc
372e9667df Goodbye SHORTLIB 2005-01-04 22:10:29 +00:00
rsc
f7b74c1725 FreeBSD tweaks 2004-12-28 17:34:05 +00:00
rsc
22c7ebffda more little compile fixes 2004-12-28 01:45:05 +00:00
rsc
709efa017c Add stringn builtin. 2004-09-23 03:04:33 +00:00
rsc
f9aa99c72e dumb maps again 2004-06-09 14:22:41 +00:00
wkj
2d67e4cc56 More cvs turds. 2004-06-03 14:26:25 +00:00
rsc
2e965b3324 various bug fixes 2004-05-05 04:22:16 +00:00
rsc
a9df759c98 new stuff. 2004-04-21 22:49:15 +00:00
rsc
4a64a77bd3 add registers 2004-04-21 20:04:18 +00:00
rsc
a8c15b08ca Include looks in #9/acid now.
Acid works harder at not falling over.
2004-04-21 05:34:37 +00:00
rsc
6c8856475f acid on freebsd 2004-04-20 05:51:36 +00:00
rsc
f1a5be0fb2 remove debugging print 2004-04-20 05:09:56 +00:00
rsc
d2cbcb7722 little fixes. 2004-04-20 05:05:16 +00:00
rsc
a0f1e21ff9 make things work on SunOS 2004-04-20 02:03:38 +00:00
rsc
e637c944fe i hate [] 2004-04-20 01:42:20 +00:00
rsc
13e660708d C
err is a bad name for a variable.
VS: ----------------------------------------------------------------------
2004-04-20 00:20:36 +00:00
rsc
b4a659b6cf clean up when finished. 2004-04-19 23:03:46 +00:00
rsc
c2a9c3bb4e handle pids without files correctly. 2004-04-19 19:34:22 +00:00
rsc
f91245eb29 remove reference to mach2 2004-04-19 19:32:29 +00:00
rsc
564ca709d0 acid 2004-04-19 19:32:07 +00:00