aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/acid/proc.c
AgeCommit message (Collapse)AuthorFilesLines
2020-01-10Trivial changes: whitespace and modes.Dan Cross1-2/+1
Remote whitespace at the ends of lines. Remove blank lines from the ends of files. Change modes on source files so that they are not executable. Signed-off-by: Dan Cross <cross@gajendra.net>
2006-04-01Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms.rsc1-1/+1
2005-11-28fixesrsc1-2/+2
2005-11-28various fixesrsc1-16/+2
2005-02-11better handling of failed setprocrsc1-4/+7
2005-02-11set corpidrsc1-0/+1
2005-01-23Working on better handling of multithreading in generalrsc1-20/+31
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.
2004-12-28more little compile fixesrsc1-14/+0
2004-05-05various bug fixesrsc1-1/+12
2004-04-20remove debugging printrsc1-1/+0
2004-04-20little fixes.rsc1-0/+1
2004-04-19clean up when finished.rsc1-2/+1
2004-04-19acidrsc1-0/+251