libunwind-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [libunwind] core file unwinding?


From: David Mosberger
Subject: Re: [libunwind] core file unwinding?
Date: Tue, 29 Mar 2005 09:46:28 -0800

>>>>> On Tue, 29 Mar 2005 09:45:35 -0800, Mike Bennett <address@hidden> said:

  Mike> David Mosberger wrote: My next step was to build an
  Mike> implementation of a corefile reader using the
  Mike> libunwind-ptrace.h style, but I thought I'd ask to see if I've
  Mike> overlooked something before starting.
  >>  That's probably not the right way to go.  The right approach is
  >> to use unw_create_addr_space() and to provide
  >> access_mem/access_{fp,}reg callbacks which read the core-file.

  Mike> Ah, sorry if I wasn't clear.

  Mike> I just meant I'd use the implementation's *style*: that is,
  Mike> making a header file that contains a unw_accessor_t object and
  Mike> something similar to _UPT_create(pid) to create a core file
  Mike> reader backend, *not* to actually use the ptrace
  Mike> implementation.

Ah, yes, that does sound like a good idea.

  >> It sure would be nice to have a libunwind-core so folks like
  >> yourself don't have to constantly reinvent the wheel.  I'm
  >> willing to answer questions but I'm afraid I'm too busy with
  >> other things at the moment to do this myself.

  Mike> I'll build things with an eye towards contributing it
  Mike> back. When I get it working I'll let you know.

Great!

Thanks,

        --david

reply via email to

[Prev in Thread] Current Thread [Next in Thread]