1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-30 16:51:41 +00:00
freebsd/lib/libkvm
Peter Wemm e55a0cd805 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
2005-06-29 22:39:41 +00:00
..
kvm_alpha.c Backed out "Compensate for header dethreading [mistakes]" mistakes in 2001-10-13 04:38:46 +00:00
kvm_amd64.c Support crash dumps > 4GB in size on 32 bit platforms. _kvm_kvatop() 2005-06-29 22:39:41 +00:00
kvm_arm.c Support crash dumps > 4GB in size on 32 bit platforms. _kvm_kvatop() 2005-06-29 22:39:41 +00:00
kvm_file.c Remove unnecssary <vm/swap_pager.h> includes. 2003-07-31 21:44:31 +00:00
kvm_geterr.3 Sort sections. 2005-01-20 09:17:07 +00:00
kvm_getfiles.3 Sort sections. 2005-01-20 09:17:07 +00:00
kvm_getloadavg.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
kvm_getloadavg.c Include sys/param.h instead of sys/types.h to get the definition of the 2001-11-20 08:26:37 +00:00
kvm_getprocs.3 Sort sections. 2005-01-20 09:17:07 +00:00
kvm_getswapinfo.3 Expand the license referenced indirectly inline. 2004-07-31 18:49:53 +00:00
kvm_getswapinfo.c Expand the license referenced indirectly inline. 2004-07-31 18:49:53 +00:00
kvm_i386.c Support crash dumps > 4GB in size on 32 bit platforms. _kvm_kvatop() 2005-06-29 22:39:41 +00:00
kvm_ia64.c Support crash dumps > 4GB in size on 32 bit platforms. _kvm_kvatop() 2005-06-29 22:39:41 +00:00
kvm_nlist.3 Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
kvm_open.3 Sort sections. 2005-01-20 09:17:07 +00:00
kvm_powerpc.c Support crash dumps > 4GB in size on 32 bit platforms. _kvm_kvatop() 2005-06-29 22:39:41 +00:00
kvm_private.h Support crash dumps > 4GB in size on 32 bit platforms. _kvm_kvatop() 2005-06-29 22:39:41 +00:00
kvm_proc.c Set ki_tdev to NODEV rather than NULL. 2005-06-24 00:37:04 +00:00
kvm_read.3 Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
kvm_sparc64.c Support crash dumps > 4GB in size on 32 bit platforms. _kvm_kvatop() 2005-06-29 22:39:41 +00:00
kvm_sparc.c Support crash dumps > 4GB in size on 32 bit platforms. _kvm_kvatop() 2005-06-29 22:39:41 +00:00
kvm.3 Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
kvm.c Support crash dumps > 4GB in size on 32 bit platforms. _kvm_kvatop() 2005-06-29 22:39:41 +00:00
kvm.h Fixed some style bugs in the removal of __P(()). Blind removal of 2003-10-13 04:44:55 +00:00
Makefile style.Makefile(5) 2003-08-18 15:25:39 +00:00