* dwarf2read.c (processing_current_prefix): Delete static
authorDaniel Jacobowitz <drow@false.org>
Thu, 21 Aug 2008 18:57:34 +0000 (18:57 +0000)
committerDaniel Jacobowitz <drow@false.org>
Thu, 21 Aug 2008 18:57:34 +0000 (18:57 +0000)
commit0114d6026069970886e2f3ccc1290fbee9f52a8a
treea9d6efa44aab676b6dd862fa94d17e511b190788
parentdf8a16a1ee1a3d464ecffd6ad66a1d2e09d47838
* dwarf2read.c (processing_current_prefix): Delete static
variable.
(process_full_comp_unit): Do not set processing_current_prefix.
(dwarf2_full_name): New function.
(read_func_scope): Do not set processing_current_prefix.  Use
determine_prefix.
(read_structure_type): Do not set processing_current_prefix.  Remove
unused inner cleanup.
(process_structure_scope): Do not set processing_current_prefix.
(read_enumeration_type): Use dwarf2_full_name.
(determine_class_name): Return a const char *.  Put the result
on the objfile obstack.  Use dwarf2_full_name.
(read_namespace_type): New function.
(read_namespace): Do not create the type here.  Use
determine_prefix.
(read_typedef): Use dwarf2_full_name.  Do not pass the name
to init_type.
(read_base_type): Do not pass the name to init_type.  Handle
TYPE_FLAG_NOSIGN.
(read_unspecified_type): Do not pass the name to init_type.
(new_symbol): Use dwarf2_full_name instead of
processing_current_prefix.
(read_type_die): Do not set processing_current_prefix.  Handle
DW_TAG_namespace.
(determine_prefix): Handle specifications.  Return the result
on the objfile obstack.  Handle unions correctly.
gdb/ChangeLog
gdb/dwarf2read.c
gdb/testsuite/gdb.cp/classes.exp
This page took 0.026861 seconds and 4 git commands to generate.