aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2007-11-05 18:06:10 +0000
committerJoel Brobecker <brobecker@gnat.com>2007-11-05 18:06:10 +0000
commita239dc2386c411883820ac1752a8fa88ed967c8a (patch)
treea0a9dac4310c58c9c7ffe74bd0303aeb8b50bb13
parent1a619819d6cb85f66a81d3ca146a960c679edfa4 (diff)
downloadgdb-a239dc2386c411883820ac1752a8fa88ed967c8a.zip
gdb-a239dc2386c411883820ac1752a8fa88ed967c8a.tar.gz
gdb-a239dc2386c411883820ac1752a8fa88ed967c8a.tar.bz2
* buildsym.c (finish_block): Remove "#if 1"/"#endif" brackets.
(make_blockvector): Likewise. Remove FIXME comment.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/buildsym.c9
2 files changed, 6 insertions, 8 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index df60534..0f0cf35 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2007-11-05 Joel Brobecker <brobecker@adacore.com>
+
+ * buildsym.c (finish_block): Remove "#if 1"/"#endif" brackets.
+ (make_blockvector): Likewise. Remove FIXME comment.
+
2007-11-05 Luis Machado <luisgpm@br.ibm.com>
* printcmd.c: (printf_command): Add support for new DFP
diff --git a/gdb/buildsym.c b/gdb/buildsym.c
index 58bb908..ec32414 100644
--- a/gdb/buildsym.c
+++ b/gdb/buildsym.c
@@ -351,7 +351,6 @@ finish_block (struct symbol *symbol, struct pending **listhead,
}
*listhead = NULL;
-#if 1
/* Check to be sure that the blocks have an end address that is
greater than starting address */
@@ -372,7 +371,6 @@ finish_block (struct symbol *symbol, struct pending **listhead,
/* Better than nothing */
BLOCK_END (block) = BLOCK_START (block);
}
-#endif
/* Install this block as the superblock of all blocks made since the
start of this scope that don't have superblocks yet. */
@@ -384,7 +382,6 @@ finish_block (struct symbol *symbol, struct pending **listhead,
{
if (BLOCK_SUPERBLOCK (pblock->block) == NULL)
{
-#if 1
/* Check to be sure the blocks are nested as we receive
them. If the compiler/assembler/linker work, this just
burns a small amount of time.
@@ -416,7 +413,6 @@ finish_block (struct symbol *symbol, struct pending **listhead,
if (BLOCK_END (pblock->block) > BLOCK_END (block))
BLOCK_END (pblock->block) = BLOCK_END (block);
}
-#endif
BLOCK_SUPERBLOCK (pblock->block) = block;
}
opblock = pblock;
@@ -486,11 +482,9 @@ make_blockvector (struct objfile *objfile)
free_pending_blocks ();
-#if 1 /* FIXME, shut this off after a while
- to speed up symbol reading. */
/* Some compilers output blocks in the wrong order, but we depend on
their being in the right order so we can binary search. Check the
- order and moan about it. FIXME. */
+ order and moan about it. */
if (BLOCKVECTOR_NBLOCKS (blockvector) > 1)
{
for (i = 1; i < BLOCKVECTOR_NBLOCKS (blockvector); i++)
@@ -506,7 +500,6 @@ make_blockvector (struct objfile *objfile)
}
}
}
-#endif
return (blockvector);
}