Commit graph

885 commits

Author SHA1 Message Date
rsc
8a75090664 add mode chars 2005-02-08 20:25:07 +00:00
rsc
46199d113e bug fix 2005-02-08 20:24:52 +00:00
rsc
2acd6fa6ff expose unix mode bits 2005-02-08 20:17:02 +00:00
rsc
0a22905232 start adding DM bits 2005-02-08 20:08:28 +00:00
rsc
31f809b54d remove debugging 2005-02-08 19:13:34 +00:00
rsc
f3ecd8ae84 play nicer with others w.r.t. signal masks 2005-02-08 19:08:47 +00:00
rsc
8d9f61e1c9 try to handle DEL better 2005-02-08 18:33:06 +00:00
rsc
dc305d0368 Maybe it will run on SunOS 5.8 now. 2005-02-08 18:01:04 +00:00
rsc
dd4afdf4eb Avoid yet another X11 stack overflow. 2005-02-08 17:56:35 +00:00
rsc
46cfcf550f stupid gcc 2005-02-03 15:41:39 +00:00
rsc
3842363abc silence archive warning for .a files 2005-02-02 22:32:56 +00:00
rsc
c4553e9cd0 more nowsys 2005-02-02 22:27:17 +00:00
rsc
41e0f84ca6 break x11 for sure 2005-02-02 22:04:41 +00:00
rsc
98e19d6df6 do not readdir files - from zoltan jarai 2005-01-30 19:45:08 +00:00
rsc
6bc22c7d87 disable chording 2005-01-30 18:00:26 +00:00
rsc
f76e039c43 fix mkfile again 2005-01-30 17:09:40 +00:00
rsc
38c087aa6d add - 2005-01-30 16:49:46 +00:00
rsc
b1307713a2 add lex files 2005-01-30 16:49:13 +00:00
rsc
b8e710da0b why bother? 2005-01-30 16:48:14 +00:00
rsc
669a062b5a osprocid can be -1 2005-01-30 16:35:05 +00:00
rsc
2c0803972b silence warning 2005-01-30 16:34:48 +00:00
rsc
9d01e22178 add errors file 2005-01-30 16:34:12 +00:00
rsc
9fe5a62166 use correct graphics format 2005-01-30 16:28:21 +00:00
rsc
efe1241109 handle sysnames in labels 2005-01-30 16:27:45 +00:00
rsc
0b22e9bd85 handle non-zero mintag properly 2005-01-30 15:59:09 +00:00
rsc
65da859889 update usage 2005-01-29 17:03:53 +00:00
rsc
a2d6635774 add diff -a 2005-01-29 16:50:51 +00:00
rsc
33baa59ecc better offset handling 2005-01-28 05:41:12 +00:00
rsc
97e85ebf11 cope with unix ORCLOSE 2005-01-27 20:55:51 +00:00
rsc
5bae51dd93 fix rowdump bug 2005-01-27 20:52:51 +00:00
rsc
07494878dc remove searching print; check fids in use; handle addr correctly again 2005-01-27 20:36:04 +00:00
rsc
693892caf5 remove debugging print 2005-01-27 07:20:06 +00:00
rsc
17ab31aac6 add autoindent (-a) and chording.
clean up argument parsing.
2005-01-27 06:10:35 +00:00
rsc
4ac5f249ad add -c option 2005-01-26 07:10:02 +00:00
rsc
57d2613621 handle @ better in winsize 2005-01-26 04:02:26 +00:00
rsc
c6ff2c768d volatile 2005-01-24 00:49:08 +00:00
rsc
de39860a2a more searchpath-related changes 2005-01-23 23:19:47 +00:00
rsc
1fdb4a5450 rename scheduler to have a more distinctive name, so stack traces can end there 2005-01-23 22:57:53 +00:00
rsc
0753502edf avoid saying unsigned long, for unix port 2005-01-23 22:57:21 +00:00
rsc
6dd68c9ad7 add undocumented Abort builtin 2005-01-23 22:57:06 +00:00
rsc
a05c312b47 do not clobber register names 2005-01-23 22:56:50 +00:00
rsc
d925d643cb sort cores; print stack as command 2005-01-23 22:51:46 +00:00
rsc
4a727cddff less verbose 2005-01-23 22:51:01 +00:00
rsc
b030a6c390 change to use attach functions.
$a means switch thread in core dumps.
(maybe that should be $A now?).
2005-01-23 22:48:54 +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
4a62371140 Add searchpath(). 2005-01-23 22:33:59 +00:00
rsc
dd944ec72a Start working through proper handling of pthreads when
debugging Linux core dumps.  Pthreads for active processes
is still not supported, nor are other systems.
2005-01-23 22:33:04 +00:00
rsc
a0e8d02d09 Apparently SuSE 9.1's X distribution uses even bigger
buffers than the standard ones.  64kB appears to be enough
for a stack in that case, but let's just go nuts and make
the stacks enormous, so that it takes a few more doublings
of X's stack needs before we run into this problem again.

The VM system should take care of not actually using most
of the memory anyway.
2005-01-23 16:02:04 +00:00
rsc
311b2afde9 arg count 2005-01-21 20:23:06 +00:00
rsc
7ca705927e use better versions 2005-01-21 20:21:12 +00:00