Re: [PATCH][RFC] dump-core: PFN-GMFN table and ELF formatify (was Re: [Xen-devel] xc_get_pfn_list() creates broken core files)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jan 17, 2007 at 01:06:33PM +0000, John Levon wrote:
> > I followed the way creating process core file and linux kernel dump file.
> > Process core file and linux kernel dump file use only program headers.
> But in both of those cases we have access to meaningful virtual address
> maps, which isn't true here (or certainly not trivially true!)

In xen dump-core file, (pseudo) physical address(phdr.p_paddr) is true.
This seems reasonable.


> And e.g. objcopy is designed for
> manipulating sections (copying out contents of a section etc). 

Sections and tools like objcopy are for linking.
Program headers are for describing memory layout in virtual/physical
address.
I don't think that we want linking manipulations for core dump file.

-- 
yamahata

--
Crash-utility mailing list
Crash-utility@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/crash-utility

[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux