mrg
d90485202c
- add defopt's for UVM, UVMHIST and PMAP_NEW.
...
- remove unnecessary UVMHIST_DECL's.
1998-02-10 14:08:44 +00:00
mrg
1a8c7604f4
initial import of the new virtual memory system, UVM, into -current.
...
UVM was written by chuck cranor <chuck@maria.wustl.edu>, with some
minor portions derived from the old Mach code. i provided some help
getting swap and paging working, and other bug fixes/ideas. chuck
silvers <chuq@chuq.com> also provided some other fixes.
this is the rest of the MI portion changes.
this will be KNF'd shortly. :-)
1998-02-05 07:59:28 +00:00
mycroft
701f15db33
Reinstate P_FSTRACE, with different semantics:
...
* Never send a SIGCHLD to the parent if P_FSTRACE is set.
* Do not permit mixing ptrace(2) and procfs; only permit using the one that
was attached.
1997-04-28 04:49:27 +00:00
mycroft
e725c03060
When checking for init, compare against initproc, rather than comparing the
...
PID. No functional difference.
1997-04-28 02:29:52 +00:00
tls
3052b5a949
fix obscure problem involving ptrace of init
1996-05-15 06:17:47 +00:00
christos
09afd77655
More proto fixes
1996-02-09 18:59:18 +00:00
christos
8a5b1b92e2
First pass at prototyping
1996-02-04 02:15:01 +00:00
mycroft
245f292fed
Prefix names of system call implementation functions with `sys_'.
1995-10-07 06:25:19 +00:00
thorpej
60024eb978
Make system calls conform to a standard prototype and bring those
...
prototypes into scope.
1995-09-19 21:40:36 +00:00
mycroft
36a94a031a
Lock the process in core before operating on it.
1995-08-13 09:05:51 +00:00
mycroft
d7e904a697
Fix various signal handling bugs:
...
* If we got a stopping signal while already stopped with the same signal,
the second signal would sometimes (but not always) be ignored.
* Signals delivered by the debugger always pretended to be stopping
signals.
* PT_ATTACH still didn't quite work right.
1995-06-08 23:51:01 +00:00
mycroft
4a975bbe6f
If necessary, wake up the child during attach so we always get a SIGCHLD.
1995-06-05 20:57:54 +00:00
mycroft
53f792b77d
Omit the call to process_sstep() if PT_STEP is not defined.
1995-02-09 05:19:18 +00:00
cgd
a03b011499
undo a part of the last change that mistakenly required PT_STEP.
...
(i simply undid that part of the change.) also, fix a tyop.
1995-02-08 23:38:29 +00:00
mycroft
1815d82b85
Make attach/detach more safe.
1995-02-03 11:35:57 +00:00
mycroft
42d23cb6e4
Remove PT_{READ,WRITE}_U.
1995-01-26 17:56:21 +00:00
cgd
6ac2bbfc35
be more careful with types, also pull in headers where necessary.
1994-10-30 21:43:03 +00:00
cgd
6b86130410
update for new syscall args description mechanism
1994-10-20 04:22:35 +00:00
mycroft
3cc6cbc0e6
Correct test for already being traced.
1994-09-24 07:17:18 +00:00
cgd
b690c315ff
ugly (#ifdef) hack to fix m68k alignment differences, etc. Eventually,
...
should be done with a 'natual alignment' macro, or some such.
1994-09-14 16:40:29 +00:00
deraadt
280592c6a7
replace "ctob(UPAGES)" and "UPAGES * NBPG" with "USPACE"
...
(cvs dumped core during previous commit...)
1994-08-23 22:13:59 +00:00
cgd
94109335b3
kill errant spaces
1994-08-21 21:24:33 +00:00
mycroft
77fe78350b
Minor update to a comment.
1994-08-15 16:45:14 +00:00
cgd
97bdeab31e
replace with a completely rewritten version, based around the 4.4BSD
...
procfs. Now the author of the old version will stop complaining that
we're using his code.
1994-08-15 16:32:41 +00:00
cgd
b48d84b629
replce with virgin copy from 4.4-Lite
1994-08-15 16:29:22 +00:00
ws
2db64ab48d
Try to pick myself up from the floor where I fell laughing.
1994-07-12 22:20:46 +00:00
cgd
cf92afd66e
New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD'
1994-06-29 06:29:24 +00:00
cgd
fcb7a3c514
Implement ptrace() functionality, based on the previous version
...
by Sean Eric Fagan.
1994-05-18 11:37:00 +00:00
cgd
e5456f6c3e
replace sys_process.c with the 4.4-Lite version
1994-05-18 11:32:27 +00:00
cgd
ed848af6f7
function name changes
1994-05-07 00:51:06 +00:00
cgd
a0a7429482
lots of changes: prototype migration, move lots of variables, definitions,
...
and structure elements around. kill some unnecessary type and macro
definitions. standardize clock handling. More changes than you'd want.
1994-05-05 05:35:42 +00:00
cgd
4bbabd8e7a
Rename a lot of process flags.
1994-05-04 03:41:12 +00:00
cgd
675a199909
SUGID semantics, similar to 4.4BSD
1994-04-07 00:40:14 +00:00
pk
b2d32f38eb
A zero scale factor turns profiling off.
1994-03-11 09:12:22 +00:00
pk
a2e2253e6c
Remove out-dated comments
1994-02-03 16:17:25 +00:00
cgd
55d2821ec0
make sure PT_STEP's are in #ifdefs
1994-01-28 19:06:17 +00:00
cgd
1b2497a000
if you define PT_[GS]ETFPREGS, then you'd better define struct fpreg, etc.
1994-01-28 06:51:13 +00:00
ws
2cee3e073f
Make procfs really work for debugging.
...
Implement not & notepg files in procfs.
1994-01-20 21:22:47 +00:00
mycroft
a537084311
Cleanup.
1994-01-10 06:10:30 +00:00
mycroft
27a2653bc6
*Really* fix the wakeup code this time.
1994-01-10 05:58:37 +00:00
mycroft
b58ba6927f
Wake up the blasted process when we detach!
1994-01-10 04:20:29 +00:00
cgd
3fbd67b7d3
implement PT_ATTACH and PT_DETACH.
1994-01-09 23:57:15 +00:00
cgd
b0bc24471f
PT_STEP is actually machine dependent. not all machines have it!
1994-01-09 16:52:11 +00:00
cgd
47529628bb
core reorg
1994-01-08 11:18:56 +00:00
mycroft
7f50bd1829
Canonicalize all #includes.
1993-12-18 04:21:37 +00:00
cgd
5419d0bd49
initialize uninitialized variable, from Andy Heffernan <ahh@netcom.com>.
1993-12-01 22:05:04 +00:00
mycroft
526dbecdb2
A little more cleanup; 0 --> FALSE and 1 --> TRUE.
1993-09-06 02:06:34 +00:00
mycroft
cc054a83e7
De-ANSIfy and re-KNFify.
1993-09-06 02:03:03 +00:00
sef
b477be52eb
Yet more of the ptrace() reorg; now ptrace_setregs() and ptrace_getregs()
...
are present, along with PT_GETREGS and PT_SETREGS ptrace commands.
1993-09-05 03:53:52 +00:00
sef
fddf2c7605
ptrace_single_step() and ptrace_set_pc() should return errors if
...
necessary. (Mainly because the SPARC can't easily single step, so
it should return EINVAL, and then ptrace() should return that to the
user.)
1993-09-04 08:46:36 +00:00