summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libdw/ChangeLog5
-rw-r--r--libdw/libdw_visit_scopes.c4
2 files changed, 8 insertions, 1 deletions
diff --git a/libdw/ChangeLog b/libdw/ChangeLog
index b6919a52..7b6a44cf 100644
--- a/libdw/ChangeLog
+++ b/libdw/ChangeLog
@@ -1,3 +1,8 @@
+2007-10-02 Roland McGrath <roland@redhat.com>
+
+ * libdw_visit_scopes.c (classify_die): Return walk for class_type and
+ structure_type.
+
2007-08-07 Roland McGrath <roland@redhat.com>
* dwarf_getscopes.c (pc_match): Swallow dwarf_haspc error return when
diff --git a/libdw/libdw_visit_scopes.c b/libdw/libdw_visit_scopes.c
index a7b6994a..9c7c3789 100644
--- a/libdw/libdw_visit_scopes.c
+++ b/libdw/libdw_visit_scopes.c
@@ -1,5 +1,5 @@
/* Helper functions to descend DWARF scope trees.
- Copyright (C) 2005,2006 Red Hat, Inc.
+ Copyright (C) 2005,2006,2007 Red Hat, Inc.
This file is part of Red Hat elfutils.
Red Hat elfutils is free software; you can redistribute it and/or modify
@@ -80,6 +80,8 @@ classify_die (Dwarf_Die *die)
/* DIEs without addresses that can own DIEs with addresses. */
case DW_TAG_namespace:
+ case DW_TAG_class_type:
+ case DW_TAG_structure_type:
return walk;
/* Special indirection required. */