aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2read.c
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2010-04-02 15:21:47 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2010-04-02 15:21:47 +0000
commit60531b2469fb4074dfeae8c5996004ba0b682551 (patch)
tree42bbfa08a348cb0f752cbc9b8cbcdf974eecd5eb /gdb/dwarf2read.c
parenteb8e76db62be7f9c66669baa51ba660b445cd835 (diff)
downloadgdb-60531b2469fb4074dfeae8c5996004ba0b682551.zip
gdb-60531b2469fb4074dfeae8c5996004ba0b682551.tar.gz
gdb-60531b2469fb4074dfeae8c5996004ba0b682551.tar.bz2
gdb/
* dwarf2read.c (read_namespace_type): Use common "return set_die_type" code form.
Diffstat (limited to 'gdb/dwarf2read.c')
-rw-r--r--gdb/dwarf2read.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index d16cea4..724016f 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -5637,9 +5637,7 @@ read_namespace_type (struct die_info *die, struct dwarf2_cu *cu)
TYPE_NAME (type) = (char *) name;
TYPE_TAG_NAME (type) = TYPE_NAME (type);
- set_die_type (die, type, cu);
-
- return type;
+ return set_die_type (die, type, cu);
}
/* Read a C++ namespace. */