summaryrefslogtreecommitdiffstats
path: root/libdw/dwarf_siblingof.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2008-01-22 01:56:41 +0000
committerRoland McGrath <roland@redhat.com>2008-01-22 01:56:41 +0000
commitc58110d291bbd39e416d322076dc58bddf56bcf0 (patch)
tree3de66c784a7767ece3fa01b2ad0f6403e88ec0cb /libdw/dwarf_siblingof.c
parentc0d3c265f06daa943df2c990daab1ce059749d4b (diff)
explicit merge of 'f9dc98cac1b8ccd38e7420c43dfe7551e2923aaa'elfutils-0.132
and '90e87946af64cdaa0fc75d344ca35ee2729e655d'
Diffstat (limited to 'libdw/dwarf_siblingof.c')
-rw-r--r--libdw/dwarf_siblingof.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libdw/dwarf_siblingof.c b/libdw/dwarf_siblingof.c
index ac9d2877..2f451d5d 100644
--- a/libdw/dwarf_siblingof.c
+++ b/libdw/dwarf_siblingof.c
@@ -56,6 +56,7 @@
#include <dwarf.h>
#include <string.h>
+
int
dwarf_siblingof (die, result)
Dwarf_Die *die;
@@ -113,6 +114,7 @@ dwarf_siblingof (die, result)
/* This abbreviation has children. */
++level;
+
while (1)
{
/* Make sure we are still in range. Some producers might skip