|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [PATCH 0/2] dump-core take 3
On Sun, Jan 21, 2007 at 03:28:37PM +0000, Keir Fraser wrote:
> > Before coding, I'd like to clarify sections.
> > (If you have more preferable names, please suggest.
> > I don't stick to the following names.)
> > - .Xen.core_header
> > - .Xen.vcpu_context
> > Or elf note section should be used for the core header and vcpu context?
> > - .Xen.p2m for non-auto translated physmode
> > - .Xen.pfn for auto translated physmode
> > Or should Xen.p2m with PFN=GMFN be used?
> > - .Xen.pages
>
> This looks fine for core dump format. I think we should go with notes for
> everything except GPFN-GMFN info and page data. Even those could go in a
> note as well really (although I suppose it would seem a bit odd).
> If you
> pick your own name for core-dump elf notes, do you need to start the type
> numbers at 256?
No. 256 doesn't have special meaning.
Just a number which doesn't used. See below.
> Seems to me you have your own brand new numbering space if
> you pick a new name.
Yes in thery.
Unfortunately binutils and elfutils don't see name.
They simply check number and report type.
So I thought that it was better to avoid the number which is commonly used.
--
yamahata
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|