diff options
author | Ian Lance Taylor <ian@airs.com> | 1999-07-11 20:06:47 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1999-07-11 20:06:47 +0000 |
commit | 8622e41b9ffd432fc916f0dd2fc8227f27eea3a9 (patch) | |
tree | a752a77a2d4b87d5ac0ae0f91fd9314ec6e7a206 | |
parent | 57d91c3cedcd8d6dde2420f9addbbb80ceeade1b (diff) | |
download | gdb-8622e41b9ffd432fc916f0dd2fc8227f27eea3a9.zip gdb-8622e41b9ffd432fc916f0dd2fc8227f27eea3a9.tar.gz gdb-8622e41b9ffd432fc916f0dd2fc8227f27eea3a9.tar.bz2 |
* corefile.c (core_create_function_syms): Add ATTRIBUTED_UNUSED.
* sym-ids.c (non_existent_file): Fully initialize structure.
-rw-r--r-- | gprof/ChangeLog | 5 | ||||
-rw-r--r-- | gprof/corefile.c | 3 | ||||
-rw-r--r-- | gprof/sym_ids.c | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/gprof/ChangeLog b/gprof/ChangeLog index 1c97fc4..4ffadb5 100644 --- a/gprof/ChangeLog +++ b/gprof/ChangeLog @@ -1,3 +1,8 @@ +1999-07-11 Ian Lance Taylor <ian@zembu.com> + + * corefile.c (core_create_function_syms): Add ATTRIBUTED_UNUSED. + * sym-ids.c (non_existent_file): Fully initialize structure. + 1999-07-01 Ian Lance Taylor <ian@zembu.com> * Many files: Add casts in many print statements to cast bfd_vma diff --git a/gprof/corefile.c b/gprof/corefile.c index 115daa7..24539bc 100644 --- a/gprof/corefile.c +++ b/gprof/corefile.c @@ -392,7 +392,8 @@ DEFUN (get_src_info, (addr, filename, name, line_num), * entered. */ void -DEFUN (core_create_function_syms, (core_bfd), bfd * core_bfd) +core_create_function_syms (core_bfd) + bfd *core_bfd ATTRIBUTE_UNUSED; { bfd_vma min_vma = ~0, max_vma = 0; int class; diff --git a/gprof/sym_ids.c b/gprof/sym_ids.c index 9e0feaa..412c8d4 100644 --- a/gprof/sym_ids.c +++ b/gprof/sym_ids.c @@ -46,7 +46,7 @@ static Sym_Table right_ids; static Source_File non_existent_file = { - 0, "<non-existent-file>" + 0, "<non-existent-file>", 0, 0, 0, NULL }; |