Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [Patch Ping]: Dont skip DW_TAG_member in load_partial_dies
@ 2005-12-22 16:10 Wu Zhou
  0 siblings, 0 replies; only message in thread
From: Wu Zhou @ 2005-12-22 16:10 UTC (permalink / raw)
  To: ezannoni; +Cc: gdb-patches, drow, manjo

Hi Elena,

I am now taking over some of Manoj's work on GDB.  He ever sent a patch to 
not skip DW_TAG_member in load_partial_dies.  The url is:

 http://sourceware.org/ml/gdb-patches/2005-02/msg00152.html

What is the status of this patch?  Do you have chance to review this?  

I also noticed that Daniel also posted a patch in 
http://sourceware.org/ml/gdb-patches/2005-04/msg00066.html, which also 
include this one.  That patch involve a little more situation.  But  this 
patch (attached below) is just one line one.  So I am thinking of that it 
might be easier to review this one, right?  Very happy to know what you 
are thinking of this patch.  Thanks a lot!

2005-02-15  Manoj Iyer  <manjo@austin.ibm.com>

	* dwarf2read.c (load_partial_dies): Save DIE with tag
	DW_TAG_member, generated by XLC when compiling C++ application.

diff -Naur ./old/src/gdb/dwarf2read.c ./new/src/gdb/dwarf2read.c
--- ./old/src/gdb/dwarf2read.c  2005-02-15 11:13:05.000000000 -0600
+++ ./new/src/gdb/dwarf2read.c  2005-02-22 10:24:08.000000000 -0600
@@ -5167,7 +5167,8 @@
          && abbrev->tag != DW_TAG_enumerator
          && abbrev->tag != DW_TAG_subprogram
          && abbrev->tag != DW_TAG_variable
-         && abbrev->tag != DW_TAG_namespace)
+         && abbrev->tag != DW_TAG_namespace
+         && abbrev->tag != DW_TAG_member)
        {
          /* Otherwise we skip to the next sibling, if any.  */
          info_ptr = skip_one_die (info_ptr + bytes_read, abbrev, cu);

Regards
- Wu Zhou


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-12-22  4:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-22 16:10 [Patch Ping]: Dont skip DW_TAG_member in load_partial_dies Wu Zhou

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox