mirror of
https://github.com/openharmony/third_party_elfutils.git
synced 2026-07-01 06:41:51 -04:00
Merge commit 'origin/roland/fixes-for-c++'
This commit is contained in:
+5
-1
@@ -6,7 +6,11 @@
|
||||
|
||||
* Makefile.am (libdw.so): Don't depend on $(zip_LIBS), just link it in.
|
||||
|
||||
2009-01-06 Roland McGrath <roland@redhat.com>
|
||||
2008-01-06 Roland McGrath <roland@redhat.com>
|
||||
|
||||
* libdwP.h (struct Dwarf_Abbrev): Change type of 'has_children' to bool.
|
||||
Reorder members.
|
||||
* dwarf_haschildren.c: Return -1 for error case, not 0.
|
||||
|
||||
* Makefile.am (libdw.so): Link in $(zip_LIBS).
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/* Return string associated with given attribute.
|
||||
Copyright (C) 2003, 2005 Red Hat, Inc.
|
||||
Copyright (C) 2003, 2005, 2008 Red Hat, Inc.
|
||||
This file is part of Red Hat elfutils.
|
||||
Written by Ulrich Drepper <drepper@redhat.com>, 2003.
|
||||
|
||||
@@ -77,7 +77,7 @@ dwarf_haschildren (die)
|
||||
if (unlikely (die->abbrev == DWARF_END_ABBREV))
|
||||
{
|
||||
__libdw_seterrno (DWARF_E_INVALID_DWARF);
|
||||
return 0;
|
||||
return -1;
|
||||
}
|
||||
|
||||
return die->abbrev->has_children;
|
||||
|
||||
+4
-4
@@ -194,12 +194,12 @@ struct Dwarf
|
||||
/* 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"
|
||||
|
||||
Reference in New Issue
Block a user