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: Failures with exelib.exp testcase (was Re: minutes 2010-08-19)


On Thu, 2011-02-03 at 18:03 +0530, K.Prasad wrote:
> > hmmm, so the symbol table inside stap-symbols.h looks precisely the same
> > as before my patch.
> > 
> > So, I see it doesn't even compile. Which must mean the #ifdef
> > __powerpc__ is the wrong guard. What should be tested for to see whether
> > we are compiling on powerpc?
>
> 	So as discussed over chat, the __powerpc__ is indeed defined and
> hence the output with the patch below is unchanged.

I am surprised it worked in the first place, since it shouldn't have
been able to compile. But OK. Now that it does compile it seems to just
segfault, since this is probably too naive a way to parse the .odp
section:

> > +                   sym_addr = *((Dwarf_Addr *) sym_addr);

Have to ponder why that is too naive. Anybody with some powerpc elf .odp
section knowledge see immediately why?

Thanks,

Mark


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