summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2007-10-02 20:55:05 +0000
committerRoland McGrath <roland@redhat.com>2007-10-02 20:55:05 +0000
commit057ec6b35ef97bd1cf6c1e96da3da399237e5224 (patch)
tree969393490f5bc5fed27b919f2ae0905383f9f334
parentf6b92284f1d1685c76565c3c255fd48875bc96b9 (diff)
downloadelfutils-057ec6b35ef97bd1cf6c1e96da3da399237e5224.tar.gz
2007-10-02 Roland McGrath <roland@redhat.com>
* libdw_visit_scopes.c (classify_die): Return walk for class_type and structure_type.
-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. */