summaryrefslogtreecommitdiffstats
path: root/lib/libkvm/kvm_powerpc.c
Commit message (Collapse)AuthorAgeFilesLines
* Add support for PowerPC kernel core files. This commit only addsmarcel2009-04-061-55/+170
| | | | | | | | | | | | | | support for virtual core files (aka minidumps). physical core files are not supported. The implementation is cross-tool ready and can be used in a non- powerpc hosted debugger to analyze PowerPC core files. It also accepts core files that still have the dump header, as can be the case within Juniper where TFTP-based kernel core files are supported and savecore is not used to "extract" the core file from some dump device. Obtained from: Juniper Networks, Inc.
* Support crash dumps > 4GB in size on 32 bit platforms. _kvm_kvatop()peter2005-06-291-1/+1
| | | | | | | | | | | | | | | | | | | | | 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
* Stub out _kvm_mdopen, we don't the same constants as NetBSDobrien2002-05-151-0/+2
|
* Add a PowerPC machdep for kvm.obrien2002-05-151-0/+101
Obtained from: NetBSD (rev 1.4, pre-UVM)
OpenPOWER on IntegriCloud