summaryrefslogtreecommitdiff
path: root/libdw/libdw.map
diff options
context:
space:
mode:
authorDi Chen <dichen@redhat.com>2022-07-28 16:31:05 +0800
committerDi Chen <dichen@redhat.com>2022-07-29 22:09:37 +0800
commit5266d753623782fb1397cdd258b5ea5373bd91ab (patch)
tree7d786c5c902673b2f46b4c1269d69713e67e7349 /libdw/libdw.map
parentcc2d459520de4f6680a0e9e9356d014356bd4718 (diff)
downloadelfutils-5266d753623782fb1397cdd258b5ea5373bd91ab.tar.gz
libdwfl: Add new function dwfl_frame_regusers/dichen/try-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 <dichen@redhat.com>
Diffstat (limited to 'libdw/libdw.map')
-rw-r--r--libdw/libdw.map1
1 files changed, 1 insertions, 0 deletions
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;