public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM]  archer-swagiaal-using-directive: Initialize die_children.
@ 2009-02-27 20:01 swagiaal
  0 siblings, 0 replies; only message in thread
From: swagiaal @ 2009-02-27 20:01 UTC (permalink / raw)
  To: archer-commits

The branch, archer-swagiaal-using-directive has been updated
       via  f2c25e7a6a02a9c12a48297938ab88f84ad0b8e6 (commit)
      from  8d37021a703d136f20e67224df5d99780d6f2ac6 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit f2c25e7a6a02a9c12a48297938ab88f84ad0b8e6
Author: Sami Wagiaalla <swagiaal@redhat.com>
Date:   Fri Feb 27 14:43:35 2009 -0500

    Initialize die_children.
    
    2009-02-27  Sami Wagiaalla  <swagiaal@redhat.com>
    
    	* dwarf2read.c (read_func_scope): Initialize die_children
    	before calling explore_abstract_origin().

-----------------------------------------------------------------------

Summary of changes:
 gdb/dwarf2read.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

First 500 lines of diff:
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index a455aa8..3778552 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -3230,7 +3230,7 @@ read_func_scope (struct die_info *die, struct dwarf2_cu *cu)
   char *name;
   CORE_ADDR baseaddr;
   struct block *block;
-  unsigned die_children;
+  unsigned die_children = 0;
 
   baseaddr = ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile));
 
@@ -3272,7 +3272,6 @@ read_func_scope (struct die_info *die, struct dwarf2_cu *cu)
   cu->list_in_scope = &local_symbols;
 
   child_die = die->child;
-  die_children = 0;
   while (child_die && child_die->tag)
     {
       process_die (child_die, cu);


hooks/post-receive
--
Repository for Project Archer.


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

only message in thread, other threads:[~2009-02-27 20:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-27 20:01 [SCM] archer-swagiaal-using-directive: Initialize die_children swagiaal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).