Commit Graph

47 Commits

Author SHA1 Message Date
Russ Cox 4a000a28d3 merge 2012-03-05 16:36:31 -05:00
Russ Cox 443d628838 libmach, acid, db: 64-bit support 2012-02-19 18:11:39 -05:00
Russ Cox a8bf49f9cb acid: fix build
R=rsc
http://codereview.appspot.com/3784048
2011-01-02 18:30:22 -05:00
Russ Cox 839c052a93 acid: 4-byte Runes
R=rsc
http://codereview.appspot.com/3860041
2011-01-02 16:01:05 -05:00
Russ Cox 0c9c620f39 fix type-punned pointer warnings from gcc
R=rsc
http://codereview.appspot.com/396042
2010-03-10 14:50:33 -08:00
rsc cbeb0b26e4 Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms. 2006-04-01 19:24:03 +00:00
rsc 0932b48416 use correct name 2006-02-14 19:41:28 +00:00
rsc 02dc681a98 add mach.h dependency 2005-11-29 19:24:22 +00:00
rsc 89de6358be debugging print 2005-11-29 05:13:51 +00:00
rsc 62faed57a5 handling of C++ names. 2005-11-29 05:12:48 +00:00
rsc 6c7ed6b0e6 new backquote syntax 2005-11-29 04:23:33 +00:00
rsc 4b01610937 fixes 2005-11-28 00:43:50 +00:00
rsc 689be54125 various fixes 2005-11-28 00:39:42 +00:00
rsc a47fbb1641 ctype sign fixes (Tom Miller) 2005-10-31 16:47:30 +00:00
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