diff options
Diffstat (limited to 'src/readDwarf.cpp')
-rw-r--r-- | src/readDwarf.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/readDwarf.cpp b/src/readDwarf.cpp index f0890bb..46be7b6 100644 --- a/src/readDwarf.cpp +++ b/src/readDwarf.cpp @@ -318,7 +318,7 @@ DIECursor::DIECursor(DWARF_CompilationUnit* cu_, byte* ptr_) }
-bool DIECursor::readSibling(DWARF_InfoData& id)
+void DIECursor::gotoSibling()
{
if (sibling)
{
@@ -337,7 +337,11 @@ bool DIECursor::readSibling(DWARF_InfoData& id) while (level > currLevel)
readNext(dummy);
}
+}
+bool DIECursor::readSibling(DWARF_InfoData& id)
+{
+ gotoSibling();
return readNext(id, true);
}
|