diff options
author | Ian Lance Taylor <ian@airs.com> | 1998-04-28 23:52:20 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1998-04-28 23:52:20 +0000 |
commit | 43870aec5efd34c46f8d7d8422291030c5048fd8 (patch) | |
tree | 57b11d57a3ffa07425ef44bf0dcd7504792f1133 /gprof | |
parent | bfde75f7e3846ec59ea36dcb07bb3f08924890a3 (diff) | |
download | gdb-43870aec5efd34c46f8d7d8422291030c5048fd8.zip gdb-43870aec5efd34c46f8d7d8422291030c5048fd8.tar.gz gdb-43870aec5efd34c46f8d7d8422291030c5048fd8.tar.bz2 |
* corefile.c: Rename from core.c.
* corefile.h: Rename from core.h.
* Many .c files: Include corefile.h rather than core.h.
* Makefile.am (sources): Change core.c to corefile.c.
(noinst_HEADERS): Change core.h to corefile.h.
($(OBJECTS)): Depend upon corefile.h rather than core.h.
(corefile.o): Rename target from core.o, depend upon corefile.c.
* Makefile.in, po/POTFILES.in: Rebuild.
Diffstat (limited to 'gprof')
-rw-r--r-- | gprof/.Sanitize | 4 | ||||
-rw-r--r-- | gprof/ChangeLog | 11 | ||||
-rw-r--r-- | gprof/Makefile.am | 8 | ||||
-rw-r--r-- | gprof/Makefile.in | 10 | ||||
-rw-r--r-- | gprof/alpha.c | 2 | ||||
-rw-r--r-- | gprof/basic_blocks.c | 2 | ||||
-rw-r--r-- | gprof/call_graph.c | 2 | ||||
-rw-r--r-- | gprof/corefile.c (renamed from gprof/core.c) | 2 | ||||
-rw-r--r-- | gprof/corefile.h (renamed from gprof/core.h) | 6 | ||||
-rw-r--r-- | gprof/gmon_io.c | 2 | ||||
-rw-r--r-- | gprof/gprof.c | 2 | ||||
-rw-r--r-- | gprof/hist.c | 2 | ||||
-rw-r--r-- | gprof/i386.c | 2 | ||||
-rw-r--r-- | gprof/po/POTFILES.in | 4 | ||||
-rw-r--r-- | gprof/sparc.c | 2 | ||||
-rw-r--r-- | gprof/symtab.c | 2 | ||||
-rw-r--r-- | gprof/tahoe.c | 2 | ||||
-rw-r--r-- | gprof/vax.c | 2 |
18 files changed, 39 insertions, 28 deletions
diff --git a/gprof/.Sanitize b/gprof/.Sanitize index ac1ec54..b5d3f3e 100644 --- a/gprof/.Sanitize +++ b/gprof/.Sanitize @@ -50,8 +50,8 @@ cg_print.h configure configure.bat configure.in -core.c -core.h +corefile.c +corefile.h flat_bl.m fsf_callg_bl.m gconfig.in diff --git a/gprof/ChangeLog b/gprof/ChangeLog index 7d4d438..e22276a 100644 --- a/gprof/ChangeLog +++ b/gprof/ChangeLog @@ -1,3 +1,14 @@ +Tue Apr 28 19:50:09 1998 Ian Lance Taylor <ian@cygnus.com> + + * corefile.c: Rename from core.c. + * corefile.h: Rename from core.h. + * Many .c files: Include corefile.h rather than core.h. + * Makefile.am (sources): Change core.c to corefile.c. + (noinst_HEADERS): Change core.h to corefile.h. + ($(OBJECTS)): Depend upon corefile.h rather than core.h. + (corefile.o): Rename target from core.o, depend upon corefile.c. + * Makefile.in, po/POTFILES.in: Rebuild. + Mon Apr 27 16:50:40 1998 Ian Lance Taylor <ian@cygnus.com> * configure.in: Change version number to 2.9.4 diff --git a/gprof/Makefile.am b/gprof/Makefile.am index 7a3f73e..7ae1492 100644 --- a/gprof/Makefile.am +++ b/gprof/Makefile.am @@ -12,7 +12,7 @@ bin_PROGRAMS = gprof ## Convenience var listing pure sources. sources = basic_blocks.c call_graph.c cg_arcs.c cg_dfn.c \ - cg_print.c core.c gmon_io.c gprof.c hertz.c hist.c source.c \ + cg_print.c corefile.c gmon_io.c gprof.c hertz.c hist.c source.c \ search_list.c symtab.c sym_ids.c utils.c \ i386.c alpha.c vax.c tahoe.c sparc.c gprof_SOURCES = $(sources) flat_bl.c bsd_callg_bl.c fsf_callg_bl.c @@ -21,7 +21,7 @@ gprof_LDADD = ../bfd/libbfd.la ../libiberty/libiberty.a $(INTLLIBS) noinst_HEADERS = \ basic_blocks.h call_graph.h cg_arcs.h cg_dfn.h cg_print.h \ - core.h gmon.h gmon_io.h gmon_out.h gprof.h hertz.h hist.h \ + corefile.h gmon.h gmon_io.h gmon_out.h gprof.h hertz.h hist.h \ search_list.h source.h sym_ids.h symtab.h utils.h EXTRA_DIST = flat_bl.c bsd_callg_bl.c fsf_callg_bl.c bbconv.pl @@ -45,7 +45,7 @@ man_MANS = gprof.1 # Dependencies. $(OBJECTS): ../bfd/bfd.h call_graph.h cg_arcs.h cg_print.h \ - core.h gmon_io.h gmon_out.h gprof.h hertz.h hist.h \ + corefile.h gmon_io.h gmon_out.h gprof.h hertz.h hist.h \ search_list.h source.h sym_ids.h symtab.h utils.h \ $(srcdir)/../include/libiberty.h $(srcdir)/../bfd/sysdep.h \ gconfig.h ../bfd/config.h @@ -55,7 +55,7 @@ call_graph.o: call_graph.c cg_arcs.o: cg_arcs.c cg_dfn.o: cg_dfn.c cg_print.o: cg_print.c -core.o: core.c +corefile.o: corefile.c flat_bl.o: flat_bl.c fsf_callg_bl.o: fsf_callg_bl.c gmon_io.o: gmon_io.c diff --git a/gprof/Makefile.in b/gprof/Makefile.in index 6c121c6..7431463 100644 --- a/gprof/Makefile.in +++ b/gprof/Makefile.in @@ -107,7 +107,7 @@ INCLUDES = -D_GNU_SOURCE -DDEBUG -I../bfd -I$(srcdir)/../include -I$(srcdir)/../ bin_PROGRAMS = gprof sources = basic_blocks.c call_graph.c cg_arcs.c cg_dfn.c \ - cg_print.c core.c gmon_io.c gprof.c hertz.c hist.c source.c \ + cg_print.c corefile.c gmon_io.c gprof.c hertz.c hist.c source.c \ search_list.c symtab.c sym_ids.c utils.c \ i386.c alpha.c vax.c tahoe.c sparc.c gprof_SOURCES = $(sources) flat_bl.c bsd_callg_bl.c fsf_callg_bl.c @@ -116,7 +116,7 @@ gprof_LDADD = ../bfd/libbfd.la ../libiberty/libiberty.a $(INTLLIBS) noinst_HEADERS = \ basic_blocks.h call_graph.h cg_arcs.h cg_dfn.h cg_print.h \ - core.h gmon.h gmon_io.h gmon_out.h gprof.h hertz.h hist.h \ + corefile.h gmon.h gmon_io.h gmon_out.h gprof.h hertz.h hist.h \ search_list.h source.h sym_ids.h symtab.h utils.h EXTRA_DIST = flat_bl.c bsd_callg_bl.c fsf_callg_bl.c bbconv.pl @@ -140,7 +140,7 @@ CPPFLAGS = @CPPFLAGS@ LDFLAGS = @LDFLAGS@ LIBS = @LIBS@ gprof_OBJECTS = basic_blocks.o call_graph.o cg_arcs.o cg_dfn.o \ -cg_print.o core.o gmon_io.o gprof.o hertz.o hist.o source.o \ +cg_print.o corefile.o gmon_io.o gprof.o hertz.o hist.o source.o \ search_list.o symtab.o sym_ids.o utils.o i386.o alpha.o vax.o tahoe.o \ sparc.o flat_bl.o bsd_callg_bl.o fsf_callg_bl.o gprof_LDFLAGS = @@ -650,7 +650,7 @@ po/POTFILES.in: @MAINT@ Makefile # Dependencies. $(OBJECTS): ../bfd/bfd.h call_graph.h cg_arcs.h cg_print.h \ - core.h gmon_io.h gmon_out.h gprof.h hertz.h hist.h \ + corefile.h gmon_io.h gmon_out.h gprof.h hertz.h hist.h \ search_list.h source.h sym_ids.h symtab.h utils.h \ $(srcdir)/../include/libiberty.h $(srcdir)/../bfd/sysdep.h \ gconfig.h ../bfd/config.h @@ -660,7 +660,7 @@ call_graph.o: call_graph.c cg_arcs.o: cg_arcs.c cg_dfn.o: cg_dfn.c cg_print.o: cg_print.c -core.o: core.c +corefile.o: corefile.c flat_bl.o: flat_bl.c fsf_callg_bl.o: fsf_callg_bl.c gmon_io.o: gmon_io.c diff --git a/gprof/alpha.c b/gprof/alpha.c index 2c9a8dd..d9d55d5 100644 --- a/gprof/alpha.c +++ b/gprof/alpha.c @@ -18,7 +18,7 @@ */ #include "gprof.h" #include "cg_arcs.h" -#include "core.h" +#include "corefile.h" #include "hist.h" #include "symtab.h" diff --git a/gprof/basic_blocks.c b/gprof/basic_blocks.c index 00525dd..0c0fc43 100644 --- a/gprof/basic_blocks.c +++ b/gprof/basic_blocks.c @@ -6,7 +6,7 @@ #include <stdio.h> #include <unistd.h> #include "basic_blocks.h" -#include "core.h" +#include "corefile.h" #include "gmon_io.h" #include "gmon_out.h" #include "gprof.h" diff --git a/gprof/call_graph.c b/gprof/call_graph.c index 2c56caf..693d337 100644 --- a/gprof/call_graph.c +++ b/gprof/call_graph.c @@ -1,6 +1,6 @@ #include "cg_arcs.h" #include "call_graph.h" -#include "core.h" +#include "corefile.h" #include "gmon_io.h" #include "gmon_out.h" #include "symtab.h" diff --git a/gprof/core.c b/gprof/corefile.c index d074d3a..3f3468b 100644 --- a/gprof/core.c +++ b/gprof/corefile.c @@ -1,6 +1,6 @@ #include "libiberty.h" #include "gprof.h" -#include "core.h" +#include "corefile.h" #include "symtab.h" bfd *core_bfd; diff --git a/gprof/core.h b/gprof/corefile.h index a78b58a..b396f85 100644 --- a/gprof/core.h +++ b/gprof/corefile.h @@ -1,5 +1,5 @@ -#ifndef core_h -#define core_h +#ifndef corefile_h +#define corefile_h #include "bfd.h" @@ -18,4 +18,4 @@ extern void core_get_text_space PARAMS ((bfd * core_bfd)); extern void core_create_function_syms PARAMS ((bfd * core_bfd)); extern void core_create_line_syms PARAMS ((bfd * core_bfd)); -#endif /* core_h */ +#endif /* corefile_h */ diff --git a/gprof/gmon_io.c b/gprof/gmon_io.c index 9524c8b..af4d8ac 100644 --- a/gprof/gmon_io.c +++ b/gprof/gmon_io.c @@ -4,7 +4,7 @@ #include "cg_arcs.h" #include "basic_blocks.h" #include "bfd.h" -#include "core.h" +#include "corefile.h" #include "call_graph.h" #include "gmon_io.h" #include "gmon_out.h" diff --git a/gprof/gprof.c b/gprof/gprof.c index 888335b..b6e260c 100644 --- a/gprof/gprof.c +++ b/gprof/gprof.c @@ -23,7 +23,7 @@ #include "call_graph.h" #include "cg_arcs.h" #include "cg_print.h" -#include "core.h" +#include "corefile.h" #include "gmon_io.h" #include "hertz.h" #include "hist.h" diff --git a/gprof/hist.c b/gprof/hist.c index 745c121..e027d9a 100644 --- a/gprof/hist.c +++ b/gprof/hist.c @@ -4,7 +4,7 @@ #include <stdio.h> #include "libiberty.h" #include "gprof.h" -#include "core.h" +#include "corefile.h" #include "gmon_io.h" #include "gmon_out.h" #include "hist.h" diff --git a/gprof/i386.c b/gprof/i386.c index d09d34e..6ce4eea 100644 --- a/gprof/i386.c +++ b/gprof/i386.c @@ -18,7 +18,7 @@ */ #include "gprof.h" #include "cg_arcs.h" -#include "core.h" +#include "corefile.h" #include "hist.h" #include "symtab.h" diff --git a/gprof/po/POTFILES.in b/gprof/po/POTFILES.in index 60cf18a..5ae8116 100644 --- a/gprof/po/POTFILES.in +++ b/gprof/po/POTFILES.in @@ -9,8 +9,8 @@ cg_dfn.c cg_dfn.h cg_print.c cg_print.h -core.c -core.h +corefile.c +corefile.h gmon.h gmon_io.c gmon_io.h diff --git a/gprof/sparc.c b/gprof/sparc.c index 77457ac..fd0f469 100644 --- a/gprof/sparc.c +++ b/gprof/sparc.c @@ -18,7 +18,7 @@ */ #include "gprof.h" #include "cg_arcs.h" -#include "core.h" +#include "corefile.h" #include "hist.h" #include "symtab.h" diff --git a/gprof/symtab.c b/gprof/symtab.c index 1ac61cc..182c657 100644 --- a/gprof/symtab.c +++ b/gprof/symtab.c @@ -1,6 +1,6 @@ #include "gprof.h" #include "cg_arcs.h" -#include "core.h" +#include "corefile.h" #include "symtab.h" Sym_Table symtab; diff --git a/gprof/tahoe.c b/gprof/tahoe.c index 3bcd3c5..55db278 100644 --- a/gprof/tahoe.c +++ b/gprof/tahoe.c @@ -18,7 +18,7 @@ */ #include "gprof.h" #include "cg_arcs.h" -#include "core.h" +#include "corefile.h" #include "hist.h" #include "symtab.h" diff --git a/gprof/vax.c b/gprof/vax.c index 020409c..c1f77df 100644 --- a/gprof/vax.c +++ b/gprof/vax.c @@ -18,7 +18,7 @@ */ #include "gprof.h" #include "cg_arcs.h" -#include "core.h" +#include "corefile.h" #include "hist.h" #include "symtab.h" |