From ccc157dc2b96e47d6d1bbb1b066ecbea4975051b Mon Sep 17 00:00:00 2001 From: Di Chen Date: Thu, 28 Jul 2022 16:31:05 +0800 Subject: libdwfl: Add new function dwfl_frame_reg Dwfl has most of the infrastructure to keep the full unwind state, including the state of unwound registers per frame using Dwfl_Thread_Callbacks. But there is no public API to access the state, except for the PC (dwfl_frame_pc). This commit adds a new function dwfl_frame_reg to get the value of the DWARF register number in the given frame. https://sourceware.org/bugzilla/show_bug.cgi?id=28579 Signed-off-by: Di Chen --- libdw/ChangeLog | 4 ++++ libdw/libdw.map | 1 + 2 files changed, 5 insertions(+) (limited to 'libdw') diff --git a/libdw/ChangeLog b/libdw/ChangeLog index 6a8f7e51..c9d94e0b 100644 --- a/libdw/ChangeLog +++ b/libdw/ChangeLog @@ -1,3 +1,7 @@ +2022-07-28 Di Chen + + * libdw.map (ELFUTILS_0.188): Add dwfl_frame_reg. + 2022-07-13 Mark Wielaard * libdw.map (ELFUTILS_0.187): Renamed to... diff --git a/libdw/libdw.map b/libdw/libdw.map index 6da25561..8f393438 100644 --- a/libdw/libdw.map +++ b/libdw/libdw.map @@ -370,4 +370,5 @@ ELFUTILS_0.186 { ELFUTILS_0.188 { global: dwfl_get_debuginfod_client; + dwfl_frame_reg; } ELFUTILS_0.186; -- cgit v1.2.1