[parisc-linux] Nonexistance of asm/offsets.h
Carlos O'Donell
carlos at systemhalted.org
Sat Jul 14 09:00:57 MDT 2007
On 7/14/07, Mike Frysinger <vapier at gentoo.org> wrote:
> > Right. The question would be how to make a 32-bit kernel generate the
> > same header file so that make install_headers does the right thing for
> > parisc in all cases.
> >
> > ppc, x86_64, and i386 don't seem to provide asm-offsets.h or offsets.h
> > in their exported headers. Should we be exporting it at all? I'll
> > look at other arches to see how they provide that data.
>
> i mentioned this a while ago on the lists but didnt seem to get any notice ...
>
> the way other architectures handle this is one of two ways:
> - create a similar static copy "ptrace.h" or "ptrace_offsets.h" in the kernel
> - create a local version for just gdb in the gdb sources
> -mike
If there is precedence we should just follow what was done for other
architectures. Dynamic generation of the structure does come with its
own set of problems e.g. accidental abi breakage.
Thanks for your input Mike.
Cheers,
Carlos.
More information about the parisc-linux
mailing list