From 057ec6b35ef97bd1cf6c1e96da3da399237e5224 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 2 Oct 2007 20:55:05 +0000 Subject: [PATCH] 2007-10-02 Roland McGrath * libdw_visit_scopes.c (classify_die): Return walk for class_type and structure_type. --- libdw/ChangeLog | 5 +++++ libdw/libdw_visit_scopes.c | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/libdw/ChangeLog b/libdw/ChangeLog index b6919a524..7b6a44cfc 100644 --- a/libdw/ChangeLog +++ b/libdw/ChangeLog @@ -1,3 +1,8 @@ +2007-10-02 Roland McGrath + + * libdw_visit_scopes.c (classify_die): Return walk for class_type and + structure_type. + 2007-08-07 Roland McGrath * 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 a7b6994af..9c7c37891 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. */ -- 2.47.2