#
338c7541 |
| 11-Aug-1994 |
David Greenman <dg@FreeBSD.org> |
Made kvm routines use procfs to get out process data such as argument strings.
|
Revision tags: release/1.1.5.1_cvs |
|
#
21d54b07 |
| 28-May-1994 |
Rodney W. Grimes <rgrimes@FreeBSD.org> |
Fix kvm_i386.c just enough to make it compile and return lots of errors when called. Noop out swapread in kvm_proc.c as our vm system is different.
|
#
f95a0250 |
| 28-May-1994 |
Rodney W. Grimes <rgrimes@FreeBSD.org> |
This is a COPY of kvm_hp300.c, soon to be patched to sorta work with the i386 port.
|
#
874108ae |
| 12-Nov-2009 |
Oleksandr Tymoshenko <gonzo@FreeBSD.org> |
MFC @199204
|
#
50c3239e |
| 06-Nov-2009 |
John Baldwin <jhb@FreeBSD.org> |
Fix a copy-paste bug when reading data from the last 3 (7 for PAE) bytes of a page mapped by a large page in the kernel.
Submitted by: Dorr H. Clark dclark of engr.scu.edu MFC after: 1 week
|
#
09c817ba |
| 03-Jul-2009 |
Oleksandr Tymoshenko <gonzo@FreeBSD.org> |
- MFC
|
#
953e4134 |
| 14-Jun-2009 |
Ed Schouten <ed@FreeBSD.org> |
Fix missing includes of <string.h>, to silence some compiler warnings.
Submitted by: Pawel Worach
|
Revision tags: release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0, release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0 |
|
#
d7dc9f76 |
| 15-Jun-2007 |
Hidetoshi Shimokawa <simokawa@FreeBSD.org> |
Re-enable raw dump format support on i386 and amd64 for /dev/fwmem.
|
Revision tags: release/6.2.0_cvs, release/6.2.0 |
|
#
67e40531 |
| 08-Jan-2007 |
Warner Losh <imp@FreeBSD.org> |
Remove the advertising clause. UCB did this some time ago, but these files were never updated to reflect that.
MFC After: 2 days
|
Revision tags: release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0 |
|
#
e9ca6fe4 |
| 21-Apr-2006 |
Peter Wemm <peter@FreeBSD.org> |
Teach libkvm how to read minidumps. It turns out that minidumps are far more convenient for libkvm to work with because of the page table block at the beginning. As a result, the MD code is smaller
Teach libkvm how to read minidumps. It turns out that minidumps are far more convenient for libkvm to work with because of the page table block at the beginning. As a result, the MD code is smaller.
libkvm will automatically detect old vs mini dumps on i386 and amd64.
libkvm will handle i386 PAE and non-PAE modes. There is a PAE flag in the i386 minidump header to signal the width of the entries in the page table block.
Other convenient values are also present, such as kernbase and the direct map addresses on amd64.
show more ...
|
Revision tags: release/6.0.0_cvs, release/6.0.0 |
|
#
add112ff |
| 20-Oct-2005 |
Peter Wemm <peter@FreeBSD.org> |
Fix a well duplicated fencepost error that stopped crashdumps being readable on certain random memory configurations. If the libkvm consumer tried to read something that was in the very last pdpe, p
Fix a well duplicated fencepost error that stopped crashdumps being readable on certain random memory configurations. If the libkvm consumer tried to read something that was in the very last pdpe, pde or pte slot, it would bogusly fail.
This is broken in RELENG_6 too.
show more ...
|
#
da2ef709 |
| 30-Jun-2005 |
Paul Saab <ps@FreeBSD.org> |
Match _kvm_kvatop to it's prototype in kvm_i386.c. This unbreaks the build.
Approved by: re
|
#
e55a0cd8 |
| 30-Jun-2005 |
Peter Wemm <peter@FreeBSD.org> |
Support crash dumps > 4GB in size on 32 bit platforms. _kvm_kvatop() returned an lseek offset in a "u_long *" value, which can't express >4GB offsets on 32 bit machines (eg: PAE). Change to "off_t
Support crash dumps > 4GB in size on 32 bit platforms. _kvm_kvatop() returned an lseek offset in a "u_long *" value, which can't express >4GB offsets on 32 bit machines (eg: PAE). Change to "off_t *" for all.
Support ELF crashdumps on i386 and amd64.
Support PAE crashdumps on i386. This is done by auto-detecting the presence of the IdlePDPT which means that PAE is active.
I used Marcel's _kvm_pa2off strategy and ELF header reader for ELF support on amd64. Paul Saab ported the amd64 changes to i386 and we implemented the PAE support from there.
Note that gdb6 in the src tree uses whatever libkvm supports. If you want to debug an old crash dump, you might want to keep an old libkvm.so handy and use LD_PRELOAD or the like. This does not detect the old raw dump format.
Approved by: re
show more ...
|
Revision tags: release/5.4.0_cvs, release/5.4.0, release/4.11.0_cvs, release/4.11.0, release/5.3.0_cvs, release/5.3.0, release/4.10.0_cvs, release/4.10.0, release/5.2.1_cvs, release/5.2.1, release/5.2.0_cvs, release/5.2.0, release/4.9.0_cvs, release/4.9.0, release/5.1.0_cvs, release/5.1.0, release/4.8.0_cvs, release/4.8.0, release/5.0.0_cvs, release/5.0.0, release/4.7.0_cvs, release/4.6.2_cvs, release/4.6.2, release/4.6.1, release/4.6.0_cvs, release/4.5.0_cvs, release/4.4.0_cvs |
|
#
6eabd845 |
| 10-Oct-2001 |
Bruce Evans <bde@FreeBSD.org> |
Compensate for "Compensate for header dethreading" by backing it out.
|
#
e67f5b9f |
| 16-Sep-2001 |
Matthew Dillon <dillon@FreeBSD.org> |
Implement __FBSDID()
|
#
f85f3040 |
| 24-Aug-2001 |
Peter Wemm <peter@FreeBSD.org> |
Dynamically adjust to the value of KERNBASE in a crashdump, with a fallback for old kernels without the "kernbase" symbol.
|
#
82633431 |
| 01-May-2001 |
Mark Murray <markm@FreeBSD.org> |
Compensate for header dethreading.
|
Revision tags: release/4.3.0_cvs, release/4.3.0, release/4.2.0, release/4.1.1_cvs, release/4.1.0, release/3.5.0_cvs, release/4.0.0_cvs |
|
#
c4a7cdb3 |
| 27-Dec-1999 |
Peter Wemm <peter@FreeBSD.org> |
Use kldsym(2) to lookup symbol values. This avoids the kvm_mkdb juggling and is module aware. Yes, this means that kvm_nlist(3) will find symbols in loaded modules. The emulation of the nlist stru
Use kldsym(2) to lookup symbol values. This avoids the kvm_mkdb juggling and is module aware. Yes, this means that kvm_nlist(3) will find symbols in loaded modules. The emulation of the nlist struct is pretty crude but seems to work well enough for all the users in the tree that I found.
show more ...
|
Revision tags: release/3.4.0_cvs, release/3.3.0_cvs, release/3.2.0, release/3.1.0, release/3.0.0, release/2.2.8, release/2.2.7, release/2.2.6, release/2.2.5_cvs |
|
#
4afb0d5a |
| 17-Aug-1997 |
Tor Egge <tegge@FreeBSD.org> |
Copy code from gnu/usr.bin/gdb/gdb/kvm-fbsd.c to deal with 4 MB pages.
|
Revision tags: release/2.2.2_cvs, release/2.2.1_cvs, release/2.2.0, release/2.1.7_cvs, release/2.1.6_cvs, release/2.1.6.1 |
|
#
2f85bf6e |
| 07-Oct-1996 |
Peter Wemm <peter@FreeBSD.org> |
Implement virtual-to-physical address mapping for the kvm library on dead kernel debugging. The previous code was a "do nothing".
The most obvious side effect of this is that you can now do things
Implement virtual-to-physical address mapping for the kvm library on dead kernel debugging. The previous code was a "do nothing".
The most obvious side effect of this is that you can now do things like this and reasonably expect them to work: dmesg -M /var/crash/vmcore.3 -N /var/crash/kernel.3 ps -axl -M /var/crash/vmcore.3 -N /var/crash/kernel.3
A good deal of this was lifted from the gdb code to do this, as well as from NetBSD's libkvm (which has completely different VM macros)
show more ...
|
Revision tags: release/2.1.5_cvs |
|
#
51295a4d |
| 12-Jul-1996 |
Jordan K. Hubbard <jkh@FreeBSD.org> |
General -Wall warning cleanup, part I. Submitted-By: Kent Vander Velden <graphix@iastate.edu>
|
#
2572133e |
| 02-May-1996 |
Poul-Henning Kamp <phk@FreeBSD.org> |
NBPG -> PAGE_SIZE
|
Revision tags: release/2.1.0_cvs, release/2.0.5_cvs |
|
#
6c06b4e2 |
| 30-May-1995 |
Rodney W. Grimes <rgrimes@FreeBSD.org> |
Remove trailing whitespace.
|
Revision tags: release/2.0 |
|
#
3f318480 |
| 07-Nov-1994 |
Poul-Henning Kamp <phk@FreeBSD.org> |
A semicolon was lost.
|
#
e4bd6287 |
| 07-Nov-1994 |
Jordan K. Hubbard <jkh@FreeBSD.org> |
From: "gj%pcs.dec.com@inet-gw-1.pa.dec.com" <garyj@rks32.pcs.dec.com> Given the right circumstances, a call to kvm_open can result in a core dump.
The diff belows fixes this (note that this change i
From: "gj%pcs.dec.com@inet-gw-1.pa.dec.com" <garyj@rks32.pcs.dec.com> Given the right circumstances, a call to kvm_open can result in a core dump.
The diff belows fixes this (note that this change is already in the NetBSD code). Could somebody apply this?
Gary J. Submitted by: gj
show more ...
|