gwr
da140670c7
typo
1997-03-21 18:48:58 +00:00
gwr
95883471d5
Build the same libkvm.* on all m68k machines. (Well... except for the
...
stragglers that still use libkvm.old ) The m68k machines now dispatch
based on the machine name to the appropriate libkvm implementation.
1997-03-21 18:44:21 +00:00
matthias
d67f3db782
The pc532 port now uses the new libkvm.
1997-02-08 09:38:06 +00:00
mrg
9cd5492c02
- convert unsafe strcpy(), strcat() and sprintf() to the `n' versions.
...
- some KNF.
1997-01-23 14:01:45 +00:00
mikel
ef2aa56d9f
fix description; PR misc/3077.
...
also added xref to sysctl(3), which may be preferable.
1997-01-03 06:36:55 +00:00
pk
9cb162ce6a
Handle crash dumps new-style.
1996-11-09 23:47:34 +00:00
pk
dbaf74ae49
Check return value of _kvm_initvtop().
1996-11-09 23:44:53 +00:00
cgd
e79d25e2e9
Don't use a kernel database based on the file name, use only
...
/var/db/kvm.db, and only use that if no kernel namelist file
is named. Update the documentation to describe this.
1996-10-12 00:50:11 +00:00
cgd
2923fb704e
use ".Dv NULL" rather than just "NULL", like everyplace else
1996-10-12 00:36:56 +00:00
cgd
8cf4d8ab67
some spaces -> tabs
1996-10-04 03:34:09 +00:00
cgd
1d7d5ec2f8
add support for real KV addresses, and clean up some.
1996-10-01 21:12:05 +00:00
cgd
4540a28ede
Real alpha support, minus actual KV -> physical translation. (Does K0SEG ->
...
physical translation, though, which is enough for e.g. dmesg and vmstat -i.)
1996-10-01 19:04:02 +00:00
cgd
2af2958a7d
add code so that if kvm_nlist() failed because __fdnlist() failed,
...
kvm_geterr() actually provides useful information rather than just an
empty string.
1996-10-01 18:56:11 +00:00
cgd
51e3315ea1
stub _kvm_pa2off so that new libkvm links
1996-10-01 14:37:00 +00:00
leo
fa72190309
Fix the empty error message problem more completely. When the magic-check
...
fails on the cpu_hdr, return 0 instead of -1. This allows the caller to
distinguise between fatal errors and 'nothing there'.
1996-06-23 20:28:05 +00:00
leo
cca068a144
Fix the mysterious empty error message when savecore is executed and no
...
dump is present. This was caused by the fact that kvm_dump_mkheader() was
called *before* savecore checks the dump magic and kvm_dump_mkheader() returned
-1 without setting an error message. The latter is fixed now.
1996-06-23 13:56:54 +00:00
mrg
ef2bde6bce
update to reflect reality.
1996-05-20 16:58:03 +00:00
leo
287a3d660a
Fix small typo in last commit.
1996-05-07 06:09:11 +00:00
gwr
82118b75d6
Allow more flexibility in the format of cpu_kcore_hdr_t and isolate
...
the knowledge of that struct in the machine-dependent module.
1996-05-05 04:31:59 +00:00
cgd
82501b607b
sync with libkvm.old sources (change committed by pk):
...
>Catch up with system PMAP.
1996-04-01 19:23:03 +00:00
mrg
301aee8168
libkvm has totally changed, bump major version.
1996-03-20 23:11:56 +00:00
thorpej
346e67f879
RCS id police.
1996-03-18 22:33:07 +00:00
leo
be74d305c7
Nuke the kd_live argument to kvm_dump_mkheader(). it's not needed anymore...
1996-03-18 21:14:44 +00:00
leo
c458aad2bf
Add a manual page for the kvm_dump_* functions.
1996-03-18 21:11:10 +00:00
leo
9c2128ecdd
New libkvm/savecore implementation. With the following differences:
...
1) savecore will not access the dump or live-kernel directly. It
will always use the kvm-functions. Allowing it to work on kernels
that don't have a 1-1 PA-VA mapping.
2) the kvm-lib has some additional functions to accomplish 1
- kvm_dump_mkheader()
- kvm_dump_wrtheader()
- kvm_dump_inval()
3) the file formats of the dump generated by the kernel and the dump
generated by savecore have been changed. The file format now looks
like the format produced for 'normal' core dumps.
Ports not yet supporting the new kvm-format will be using libkvm.old/
savecore.old for the time being.
1996-03-16 10:23:29 +00:00
mycroft
bd267b1b3c
Clean up a bit.
1996-03-08 10:45:16 +00:00
mark
d1c55d0bd8
Initial commit of the libkvm code for the arm32 port.
1996-02-02 15:35:41 +00:00
phil
57cd9a2c29
Update for recent changes in the kernel.
1996-02-01 07:24:37 +00:00
cgd
46d2a53848
reminder to not forget k0seg translations. (nothing done here yet, though.)
1995-09-29 03:57:48 +00:00
pk
16e30a94d1
Deal with crash dumps again.
1995-07-05 18:41:25 +00:00
cgd
00fd6050b6
slight type cleanup. add some prototypes for internal functions,
...
some 'const' poisoning, some lvalue lossage.
1995-07-04 03:03:30 +00:00
briggs
bc09c2e1b0
Take out cpu040 case for mac68k.
1995-07-01 19:26:03 +00:00
cgd
d8eaa29f0f
fix a piece of sloppy coding on my part. gdb -k still doesn't work, though.
1995-06-29 11:41:45 +00:00
cgd
64b09480bb
update to match reality.
1995-06-26 13:19:27 +00:00
mycroft
ee7138ecea
Fix up the last argv pointer correctly when terminating early.
1995-05-25 03:03:42 +00:00
mycroft
ac582e04f5
Fix one more reallocing bug.
1995-05-18 13:59:25 +00:00
mycroft
70258d9a3a
Fix up another pointer if we realloc the argument list.
1995-05-18 12:21:54 +00:00
mycroft
470f22b967
Update copyright.
1995-05-16 14:26:15 +00:00
mycroft
6506fa2b16
Use the new ps_strings format. Find the arguments using their
...
addresses in the argv array, rather than guessing based on the location
of NULs.
1995-05-16 14:21:08 +00:00
ragge
5993e44288
kvm_vax.c added.
1995-04-25 15:41:11 +00:00
ragge
460abf6176
kvm machine specific code for VAX.
1995-04-17 12:44:34 +00:00
pk
3c8e6db690
Disable "dead kernel" stuff until we have something new.
1995-04-13 19:32:40 +00:00
chopps
b331e63615
should work without specialization now.
1995-04-02 20:45:26 +00:00
jtc
a5c856b8c8
KERNEL -> _KERNEL
1995-03-28 17:29:16 +00:00
jtc
ae0b9c2010
KERNEL -> _KERNEL
1995-03-28 17:18:59 +00:00
cgd
5eecfd8983
stubs.
1995-02-10 17:51:56 +00:00
pk
762232f3d7
The sparc port no longer needs special casing.
1995-01-12 16:30:52 +00:00
mycroft
c304971439
Eliminate _kvm_uvatop(), in favor of using the machine-independent VM structures.
1995-01-09 08:59:25 +00:00
cgd
ae9172d6cd
specify man pages the new way.
1994-12-22 09:57:51 +00:00
deraadt
12e0db7fb1
make this work (with a horrible hack for determining the cputyp)
1994-11-02 04:51:38 +00:00