commit | 1f6d2010bb26b6bf5395a98651fce9a1a9141ac3 | [log] [tgz] |
---|---|---|
author | Roland McGrath <roland@redhat.com> | Wed Dec 31 00:21:04 2008 -0800 |
committer | Roland McGrath <roland@redhat.com> | Wed Dec 31 00:21:04 2008 -0800 |
tree | 511b32bf01db236e8f2641195058697d4a29732f | |
parent | ec32ff94cfcb52f0bd5a5b00968fd590d444c306 [diff] [blame] |
dwarf_haschildren: Return -1 for error case, not 0.
diff --git a/libdw/libdwP.h b/libdw/libdwP.h index f805295..867ad89 100644 --- a/libdw/libdwP.h +++ b/libdw/libdwP.h
@@ -194,12 +194,12 @@ /* Abbreviation representation. */ struct Dwarf_Abbrev { + Dwarf_Off offset; + unsigned char *attrp; + unsigned int attrcnt; unsigned int code; unsigned int tag; - int has_children; - unsigned int attrcnt; - unsigned char *attrp; - Dwarf_Off offset; + bool has_children; }; #include "dwarf_abbrev_hash.h"