libunwind-devel
[Top][All Lists]
Advanced

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

Re: [libunwind] suggest adding unw_init_local_accessors


From: David Mosberger
Subject: Re: [libunwind] suggest adding unw_init_local_accessors
Date: Tue, 3 Dec 2002 14:16:15 -0800

>>>>> On Tue, 12 Nov 2002 15:42:41 -0800, Mark Young <address@hidden> said:

  Mark> In using libunwind with dynamically generated code, it would
  Mark> be useful to call the register/memory/unwind-info access
  Mark> functions used by unw_init_local to handle frames created by
  Mark> non-dynamic code. Rather than simply making the local access
  Mark> functions externally visible, I suggest adding a new routine
  Mark> "unw_init_local_accessors" to initialize an unw_accessors_t
  Mark> structure in the same manner as unw_init_local. This would
  Mark> allow personalized access functions to be selectively
  Mark> substituted for local access functions, as in this example:

This should now be possible via the unw_get_accessors() routine.
Mark, could you let me know if this meets your needs?

Thanks,

        --david


reply via email to

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