This is the mail archive of the
archer-commits@sourceware.org
mailing list for the Archer project.
[SCM] archer-tromey-optional-psymtab: Reset using_gnu_index when deciding not to use the indices.
- From: tromey at sourceware dot org
- To: archer-commits at sourceware dot org
- Date: 24 Nov 2009 19:55:04 -0000
- Subject: [SCM] archer-tromey-optional-psymtab: Reset using_gnu_index when deciding not to use the indices.
The branch, archer-tromey-optional-psymtab has been updated
via a4d657497cc5c3d9beadcf297247844d6d4c6e2e (commit)
from d425a2ac61e06bf5e327c9fcaf4b1d2f755578b9 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email.
- Log -----------------------------------------------------------------
commit a4d657497cc5c3d9beadcf297247844d6d4c6e2e
Author: Tom Tromey <tromey@redhat.com>
Date: Tue Nov 24 12:54:34 2009 -0700
Reset using_gnu_index when deciding not to use the indices.
-----------------------------------------------------------------------
Summary of changes:
gdb/dwarf2read.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
First 500 lines of diff:
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index b302f7b..6b02a14 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -1900,16 +1900,18 @@ dwarf2_read_gnu_index (struct objfile *objfile)
{
/* Reset all 'quick' pointers; we're about to reuse these slots
as pointers to psymtabs. */
- for (i = 0;
+ for (i = 0;
VEC_iterate (dwarf2_per_cu_data_ptr,
dwarf2_per_objfile->all_comp_units,
i, iter);
++i)
iter->v.quick = NULL;
+ dwarf2_per_objfile->using_gnu_index = 0;
do_cleanups (cleanups);
return 0;
}
+ /* Read in each CU that did not have a corresponding index. */
for (i = 0;
VEC_iterate (dwarf2_per_cu_data_ptr,
dwarf2_per_objfile->all_comp_units,
hooks/post-receive
--
Repository for Project Archer.