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.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/gcc/gcov-dump.c b/gcc/gcov-dump.c
index 5c0dd3a..818c6ef 100644
--- a/gcc/gcov-dump.c
+++ b/gcc/gcov-dump.c
@@ -254,15 +254,17 @@ tag_function (filename, tag, length)
unsigned tag ATTRIBUTE_UNUSED;
unsigned length ATTRIBUTE_UNUSED;
{
- const char *name;
unsigned long pos = gcov_position ();
- name = gcov_read_string ();
- printf (" `%s'", name ? name : "NULL");
- printf (" checksum=0x%08x", gcov_read_unsigned ());
+ printf (" ident=%u", gcov_read_unsigned ());
+ printf (", checksum=0x%08x", gcov_read_unsigned ());
if (gcov_position () - pos < length)
{
+ const char *name;
+
+ name = gcov_read_string ();
+ printf (", `%s'", name ? name : "NULL");
name = gcov_read_string ();
printf (" %s", name ? name : "NULL");
printf (":%u", gcov_read_unsigned ());