summaryrefslogtreecommitdiff
path: root/libdw
diff options
context:
space:
mode:
authorDi Chen <dichen@redhat.com>2022-07-28 16:31:05 +0800
committerMark Wielaard <mark@klomp.org>2022-07-31 01:48:48 +0200
commitccc157dc2b96e47d6d1bbb1b066ecbea4975051b (patch)
tree88e8f5c0a9a7fb35e9519024f8f4215224a65cae /libdw
parent0873ae782d14e672e8344775e76b7fca0a8b41bf (diff)
downloadelfutils-ccc157dc2b96e47d6d1bbb1b066ecbea4975051b.tar.gz
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 <dichen@redhat.com>
Diffstat (limited to 'libdw')
-rw-r--r--libdw/ChangeLog4
-rw-r--r--libdw/libdw.map1
2 files changed, 5 insertions, 0 deletions
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 <dichen@redhat.com>
+
+ * libdw.map (ELFUTILS_0.188): Add dwfl_frame_reg.
+
2022-07-13 Mark Wielaard <mark@klomp.org>
* 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;