What I had in mind was a simple wrapper around Solaris libc's 
  printstack(3):

or (from `man -s3 printstack') :
 
     int     walkcontext(const     ucontext_t     *uptr,      int
     (*operate_func)(uintptr_t, int, void *), void *usrarg);

     int printstack(int fd);

so that it can be invoked with an identical API to that presented
via glibc to libunwind, so applications targetted for both Solaris
and Linux can use the same API to exit with a backtrace .

Any known previous / existing attempts at this ?

TIA,
Jason
 

RE: Solaris port ? 
> Any interest / previous attempts at a port of libunwind for Solaris ?
> If not, I might not be far off from developing one ...
> Comments / suggestions about libunwind for Solaris gratefully received,
> Jason Vas Dias<[email protected]>


_______________________________________________
Libunwind-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/libunwind-devel

Reply via email to