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


Jakub Jelinek wrote:

> Bootstrapped/regtested on x86_64-linux, ok for trunk?
> 
> 2009-04-01  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.

Does GDB support this OK?  Does it require a very new GDB?

This patch should have a GCC test-case, verifying that the correct tag
is emitted.

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]