From e3e9c455e5a3606ba3894901a79b74bdeb5a979a Mon Sep 17 00:00:00 2001 From: Rainer Schuetze Date: Thu, 6 Jul 2023 07:54:38 +0200 Subject: fix initializing DWARF_InfoData.ranges --- CHANGES | 7 +++++++ VERSION | 2 +- src/readDwarf.cpp | 5 ++--- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/CHANGES b/CHANGES index f6338f7..2840058 100644 --- a/CHANGES +++ b/CHANGES @@ -321,3 +321,10 @@ unreleased Version 0.22 * support DW_FORM_data1 and DW_FORM_data2 in DW_LNCT_directory_index * fix emitting bad debug info if struct description exceeds 64 kB, clipped for now + +2023-06-10 Version 0.53 + + * DWARF: fully-qualified name generation for procs, structs, enums and classes. + Thanks to alexbudfb + + \ No newline at end of file diff --git a/VERSION b/VERSION index 3b80680..6f43310 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -VERSION = 0.52 +VERSION = 0.53 diff --git a/src/readDwarf.cpp b/src/readDwarf.cpp index e6f187c..5d211f0 100644 --- a/src/readDwarf.cpp +++ b/src/readDwarf.cpp @@ -713,10 +713,9 @@ DWARF_InfoData* DIECursor::readNext(DWARF_InfoData* entry, bool stopAtNull) establishLinks = true; node = std::make_unique(); entry = node.get(); - } else { - // If an entry was provided, make sure we clear it. - entry->clear(); } + // Even if an entry was provided, make sure we clear it. + entry->clear(); entry->img = img; -- cgit v0.12