From c81b51c4f11d226400aa3d538366e5deee56ad5e Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sat, 6 Sep 2025 11:39:48 -0700 Subject: [PATCH] Added explanation about the frame instruction tables for Dwarf_Regtable_Entry3. modified: src/lib/libdwarf/libdwarf.h --- src/lib/libdwarf/libdwarf.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/lib/libdwarf/libdwarf.h b/src/lib/libdwarf/libdwarf.h index 0a75cd8a..860c0e3f 100644 --- a/src/lib/libdwarf/libdwarf.h +++ b/src/lib/libdwarf/libdwarf.h @@ -543,6 +543,14 @@ typedef struct Dwarf_Ranges_s { block.bl_len. Other values of dw_value_type are an error. + DWARF is showing what a debugger would act on to + calculate actual register values. Libdwarf does + not know any register values and cannot calculate + any. If a caller wishes to actually do the + proper calculations the caller must provide + its own register data space and calculate new values + and new register status in the caller's register data. + Note that this definition can only deal correctly with register numbers that fit in a 16 bit unsigned value. Removing this