aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcov-dump.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/gcov-dump.c')
-rw-r--r--gcc/gcov-dump.c22
1 files changed, 2 insertions, 20 deletions
diff --git a/gcc/gcov-dump.c b/gcc/gcov-dump.c
index 47db179..f252257 100644
--- a/gcc/gcov-dump.c
+++ b/gcc/gcov-dump.c
@@ -318,27 +318,9 @@ tag_function (const char *filename ATTRIBUTE_UNUSED,
static void
tag_blocks (const char *filename ATTRIBUTE_UNUSED,
unsigned tag ATTRIBUTE_UNUSED, unsigned length ATTRIBUTE_UNUSED,
- unsigned depth)
+ unsigned depth ATTRIBUTE_UNUSED)
{
- unsigned n_blocks = GCOV_TAG_BLOCKS_NUM (length);
-
- printf (" %u blocks", n_blocks);
-
- if (flag_dump_contents)
- {
- unsigned ix;
-
- for (ix = 0; ix != n_blocks; ix++)
- {
- if (!(ix & 7))
- {
- printf ("\n");
- print_prefix (filename, depth, gcov_position ());
- printf (VALUE_PADDING_PREFIX VALUE_PREFIX, ix);
- }
- printf ("%04x ", gcov_read_unsigned ());
- }
- }
+ printf (" %u blocks", gcov_read_unsigned ());
}
static void