public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM] archer-keiths-expr-cumulative: Initialize die_children.
@ 2009-02-27 20:06 swagiaal
0 siblings, 0 replies; only message in thread
From: swagiaal @ 2009-02-27 20:06 UTC (permalink / raw)
To: archer-commits
The branch, archer-keiths-expr-cumulative has been updated
via 3513c57475d20e65ac2fb2be097227011c4b8b5a (commit)
from 756fe0377686543d8e0e3f84f77f06f7a4bc17a7 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email.
- Log -----------------------------------------------------------------
commit 3513c57475d20e65ac2fb2be097227011c4b8b5a
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 0484e7e..3e17767 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -3306,7 +3306,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));
@@ -3348,7 +3348,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:06 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:06 [SCM] archer-keiths-expr-cumulative: 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).