This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] For static data member declarations emit DW_TAG_member instead of DW_TAG_variable (take 2)


Jakub Jelinek wrote:

> 2009-04-07  Jakub Jelinek  <jakub@redhat.com>
> 
> 	* dwarf2out.c (class_scope_p): New static inline.
> 	(class_or_namespace_scope_p): Use it.
> 	(gen_variable_die): Use DW_TAG_member tag for static data member
> 	declarations instead of DW_TAG_variable.
> 
> 	* g++.dg/debug/dwarf2/static-data-member1.C: New test.

OK, thanks.

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]