[PATCH] libdw/libdwfl: Add API for accessing registers

2022-07-19 Thread Di Chen via Elfutils-devel
>From 8325b5311ff5618a7a66e5398652e2177cc53e78 Mon Sep 17 00:00:00 2001 From: Di Chen Date: Tue, 19 Jul 2022 14:54:45 +0800 Subject: [PATCH] libdw/libdwfl: Add API for accessing registers Dwfl has most of the infrastructure to keep the full unwind state, including the state of unwound registers p

[PATCH v2] libdw/libdwfl: Add API for accessing registers

2022-07-19 Thread Di Chen via Elfutils-devel
>From 9c25b08e46c2031b569a85f91713d009b83f4c26 Mon Sep 17 00:00:00 2001 From: Di Chen Date: Tue, 19 Jul 2022 14:54:45 +0800 Subject: [PATCH] libdw/libdwfl: Add API for accessing registers Dwfl has most of the infrastructure to keep the full unwind state, including the state of unwound registers p

[Bug libdw/28579] libdwfl api for accessing registers for a thread frame (full register unwinding)

2022-07-19 Thread dichen at redhat dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=28579 --- Comment #3 from Di Chen --- Thank you Mark, I have re-pushed a patch[1] for 1). add dwfl_frame_reg to ELFUTILS_0.188 2). add invalid regno check for dwfl_frame_reg 3). add INTDECL (dwfl_frame_reg) 4). Replace Dwarf_Word with Dwarf_Addr f