Re: unwind non-PC registers using elfutils

2021-11-10 Thread Jacob Burkholder via Elfutils-devel
Hi Mark, thanks for your mail. On Wed, Nov 10, 2021 at 6:09 AM Mark Wielaard wrote: > > Hi Jacob, > > On Sun, 2021-10-03 at 09:38 -0700, Jacob Burkholder via Elfutils-devel wrote: > > Hi, I'm trying to figure out how to unwind registers other than the PC > > using elfutils. I can use dwfl_module

Re: unwind non-PC registers using elfutils

2021-11-10 Thread Mark Wielaard
Hi Jacob, On Sun, 2021-10-03 at 09:38 -0700, Jacob Burkholder via Elfutils-devel wrote: > Hi, I'm trying to figure out how to unwind registers other than the PC > using elfutils. I can use dwfl_module_register_names to get the register > names, and then I'm trying to use dwarf_frame_register to g

unwind non-PC registers using elfutils

2021-10-03 Thread Jacob Burkholder via Elfutils-devel
Hi, I'm trying to figure out how to unwind registers other than the PC using elfutils. I can use dwfl_module_register_names to get the register names, and then I'm trying to use dwarf_frame_register to get the register values for a given frame. I looked at the code in __libdwfl_frame_unwind and t