Commit graph

1158 commits

Author SHA1 Message Date
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
7c604f0ddf document isum 2005-01-23 23:02:04 +00:00
rsc
646799d4a7 stupid bugs 2005-01-23 22:58:02 +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
a4eeb3c103 add stack 2005-01-23 22:56:33 +00:00
rsc
8b0e19f725 document -q 2005-01-23 22:56:20 +00:00
rsc
3264d2e25e document core and stack 2005-01-23 22:55:46 +00:00
rsc
d925d643cb sort cores; print stack as command 2005-01-23 22:51:46 +00:00
rsc
95f5b525d2 changes mainly for threading support 2005-01-23 22:51:28 +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
a5f9ff62b2 document searchpath(3) 2005-01-23 22:41:44 +00:00
rsc
4a62371140 Add searchpath(). 2005-01-23 22:33:59 +00:00
rsc
28125cbd4c Extract more data from core dumps. 2005-01-23 22:33:25 +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
8327d41981 redirect debugging output of isnptl 2005-01-23 01:55:42 +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
rsc
7e91400c0d replace mdir with mkdir; oops 2005-01-21 06:51:27 +00:00
rsc
f0264abf26 ignore host read eof while exiting 2005-01-20 22:59:50 +00:00
rsc
303cb7c6db todo 2005-01-20 17:53:14 +00:00
rsc
9020c5dcc3 core has been written 2005-01-20 17:52:20 +00:00
rsc
1b0c8a154a use correct yacc 2005-01-19 19:48:58 +00:00
rsc
f5473886cd more ignores 2005-01-19 19:17:20 +00:00
rsc
10b819c6bd add errno 2005-01-19 19:12:48 +00:00
rsc
d993ae5d79 fixes 2005-01-19 17:11:28 +00:00
rsc
e9c1790354 show only interesting log entries 2005-01-19 17:04:56 +00:00
rsc
a331ac4c61 do not use shutdown on mac 2005-01-19 16:51:37 +00:00
rsc
9b3d503bac avoid c99 2005-01-19 16:50:07 +00:00
rsc
ec41125f3b avoid c99 extensions 2005-01-19 16:48:25 +00:00
rsc
4fc1f5f949 bad $variable names 2005-01-19 16:45:27 +00:00
rsc
6dfd0c502a try again 2005-01-19 16:44:22 +00:00
rsc
c384ebd2ce try again at x86-64 2005-01-19 16:42:34 +00:00
rsc
6987199d12 continue x86-64 2005-01-19 04:05:19 +00:00
rsc
6135dd6916 do not close -1 2005-01-19 03:53:20 +00:00
rsc
8369671104 update 2005-01-19 01:17:03 +00:00
rsc
16334694d2 do not translate man pages 2005-01-19 00:38:07 +00:00
rsc
108559b2d7 do not use rpath on Darwin 2005-01-19 00:25:38 +00:00
rsc
803292c631 proccreate race 2005-01-18 20:53:12 +00:00
rsc
1c8159def5 free hdr->cmd 2005-01-18 20:49:25 +00:00
rsc
1bdf170864 extract cmd in right place 2005-01-18 20:49:11 +00:00
rsc
58698c9c12 add 2005-01-18 20:45:12 +00:00
rsc
20173464d2 add core cmd 2005-01-18 20:26:26 +00:00
rsc
170d47ee1f print core cmd 2005-01-18 20:26:12 +00:00