diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2010-04-02 15:21:47 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2010-04-02 15:21:47 +0000 |
commit | 60531b2469fb4074dfeae8c5996004ba0b682551 (patch) | |
tree | 42bbfa08a348cb0f752cbc9b8cbcdf974eecd5eb | |
parent | eb8e76db62be7f9c66669baa51ba660b445cd835 (diff) | |
download | gdb-60531b2469fb4074dfeae8c5996004ba0b682551.zip gdb-60531b2469fb4074dfeae8c5996004ba0b682551.tar.gz gdb-60531b2469fb4074dfeae8c5996004ba0b682551.tar.bz2 |
gdb/
* dwarf2read.c (read_namespace_type): Use common "return set_die_type"
code form.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/dwarf2read.c | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 10dd5e6..0bcb4a1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2010-04-02 Jan Kratochvil <jan.kratochvil@redhat.com> + + * dwarf2read.c (read_namespace_type): Use common "return set_die_type" + code form. + 2010-04-02 Hui Zhu <teawater@gmail.com> * i386-tdep.c (OT_DQUAD): New enum. 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. */ |