diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2003-04-11 10:38:57 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2003-04-11 10:38:57 +0000 |
commit | 94de45d9fe364fefd0cea5352c486306e68d704b (patch) | |
tree | 7661c471f34c22626015acd1801aa486d1a6f9c4 /gcc/cppmacro.c | |
parent | 7a615b25793c2201a7b92c8fd3425567b96b22ce (diff) | |
download | gcc-94de45d9fe364fefd0cea5352c486306e68d704b.zip gcc-94de45d9fe364fefd0cea5352c486306e68d704b.tar.gz gcc-94de45d9fe364fefd0cea5352c486306e68d704b.tar.bz2 |
Makefile.in (loop-init.o): Do not depend on gcov-io.h, gcov-iov.h.
* Makefile.in (loop-init.o): Do not depend on gcov-io.h,
gcov-iov.h.
Simplify interface to gcov reading and writing.
* gcov-io.h (gcov_file, gcov_position, gcov_length, gcov_buffer,
gcov_alloc, gcov_modified, gcov_errored): Move into ...
(struct gcov_var gcov_var): ... this static structure.
(gcov_write_unsigned, gcov_write_counter, gcov_write_string):
Return void.
(gcov_read_unsigned, gcov_read_couter, gcov_read_string): Return
read object.
(gcov_read_bytes, gcov_write_bytes): Set error flag on error.
(gcov_reserve_length): Remove.
(gcov_write_tag): New.
(gcov_write_length): Adjust.
(gcov_read_summary, gcov_write_summary): Adjust.
(gcov_eof, gcov_ok): Rename to ...
(gcov_is_eof, gcov_is_error): ... here. Return error code.
(gcov_save_position, gcov_resync): Rename to ...
(gcov_position, gcov_seek): ... here.
(gcov_skip, gcov_skip_string): Remove.
(gcov_error): Remove.
(gcov_open, gcov_close): Adjust.
* gcov.c (find_source): Take const char *, copy it on allocation.
(read_graph_file): Adjust.
(read_count_file): Adjust.
* libgcov.c (gcov_exit): Adjust.
* gcov-dump.c (tag_function, tag_blocks, tag_arcs, tag_lines,
tag_arc_counts, tag_summary): Return void. Adjust.
(struct tag_format): Adjust proc member.
(dump_file): Adjust gcov calls.
From-SVN: r65464
Diffstat (limited to 'gcc/cppmacro.c')
0 files changed, 0 insertions, 0 deletions