diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2003-05-10 19:02:21 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2003-05-10 19:02:21 +0000 |
commit | 9b514d25867f14eb1b430765ba6d5083e592fcd7 (patch) | |
tree | 854e36366a2cd453b70412c2e728a48810418a26 /gcc/gcov-dump.c | |
parent | bac45eb9ffa0dde3bce2170a29ac04644de86365 (diff) | |
download | gcc-9b514d25867f14eb1b430765ba6d5083e592fcd7.tar.gz |
defaults.h (GCOV_TYPE_SIZE): Remove.
* defaults.h (GCOV_TYPE_SIZE): Remove.
* gcov-io.h (gcov_type): Set to specific mode int on target.
(gcov_unsigned_t, gcov_position_t): New.
(GCOV_TYPE_NODE): New.
(GCOV_TAG_SUMMARY_LENGTH): Adjust.
(GCOV_COUNTERS_SUMMABLE): New.
(gcov_ctr_summary, gcov_sumary, gcov_fn_info, gcov_merge_fn,
gcov_ctr_info, gcov_info): Adjust types.
(gcov_var): Adjust types.
(gcov_write_unsigned, gcov_write_tag,
gcov_write_length, gcov_write_tag_length, gcov_write_summary,
gcov_read_unsigned, gcov_read_summary): Adjust gcov types.
(gcov_position, gcov_sync, gcov_seek): Adjust gcov types.
* gcov-io.c (gcov_write_unsigned, gcov_write_tag,
gcov_write_length, gcov_write_tag_length, gcov_write_summary,
gcov_read_unsigned, gcov_read_summary): Adjust gcov types.
* libgcov.c (gcov_crc32, gcov_version_mismatch, gcov_exit,
__gcov_init, __gcov_merge_add): Adjust gcov types.
* coverage.c (ctr_merge_functions): Constify.
(ctr_names): New.
(read_counts_file): Adjust gcov types. Only summarize & merge
summable counters.
(coverage_counter_ref): Use GCOV_TYPE_NODE.
(build_fn_info_type, build_fn_info_value, build_ctr_info_type,
build_ctr_info_value, build_gcov_info): Adjust types.
* profile.c (branch_prob): Adjust gcov types.
* gcov_dump (dump_file): Adjust gcov types.
From-SVN: r66668
Diffstat (limited to 'gcc/gcov-dump.c')
-rw-r--r-- | gcc/gcov-dump.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/gcov-dump.c b/gcc/gcov-dump.c index fb64243ab83..d70e4dddc8b 100644 --- a/gcc/gcov-dump.c +++ b/gcc/gcov-dump.c @@ -241,7 +241,8 @@ dump_file (filename) if ((error = gcov_is_error ())) { printf (error < 0 ? "%s:counter overflow at %lu\n" : - "%s:read error at %lu\n", filename, gcov_position ()); + "%s:read error at %lu\n", filename, + (long unsigned) gcov_position ()); break; } } |