This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: print_ubacktrace() and ppc 32


Hey,

> > So for a ppc32 kernel we do need a new runtime/unwind/ppc32.h
> > definitions file. It should not be that hard to write based on the
> > ppc64.h version and the ppc32 DWARF register mappings from
> > http://refspecs.linuxbase.org/elf/elfspec_ppc.pdf
> > But note that testing might be needed to see if those really map to
> > actually used DWARF register numbers generated by the toolchain. As can
> > be seen in the comments in ppc64.h sometimes mistakes have been made and
> > theory/spec and practice are not the same :{
> 
> Ok thanks for pointing out. If someone has a first ppc32.h file and needs
> some help for testing on a native 32 bit ppc system, let me know. Or maybe
> in the next week I find the time to implement one.

Looking over the DWARF register specs the mappings should be the same,
so hopefully we can use the same header file.  Would you mind trying
this patch?

Cheers,

Lukas

Attachment: ppc32.patch
Description: Text document

Attachment: pgpwIkPCphJgi.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]