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

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

On Wed, Jan 17, 2007 at 02:54:51PM +0900, Isaku Yamahata wrote:

> Do you have any other correct value?

NONE seems righter.

> 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!)

> They use note section pointed by a program header to store register
> infomations and etc.
> Creating sections requires string table to store section name.
> It makes dump-core code more compilated.
> If using sections is appropreate for dump-core, such compilcations
> might be acceptable.
> However I don't see why section is more appropreate than program
> header because I don't expect to have so many kind of notes.
> At least for dump-core.

We want the same format for everything. And e.g. objcopy is designed for
manipulating sections (copying out contents of a section etc). Building
a .shstrstab isn't particularly difficult...


Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.