* corefile.c: Rename from core.c.
authorIan Lance Taylor <ian@airs.com>
Tue, 28 Apr 1998 23:52:20 +0000 (23:52 +0000)
committerIan Lance Taylor <ian@airs.com>
Tue, 28 Apr 1998 23:52:20 +0000 (23:52 +0000)
* 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.

18 files changed:
gprof/.Sanitize
gprof/ChangeLog
gprof/Makefile.am
gprof/Makefile.in
gprof/alpha.c
gprof/basic_blocks.c
gprof/call_graph.c
gprof/corefile.c [moved from gprof/core.c with 99% similarity]
gprof/corefile.h [moved from gprof/core.h with 92% similarity]
gprof/gmon_io.c
gprof/gprof.c
gprof/hist.c
gprof/i386.c
gprof/po/POTFILES.in
gprof/sparc.c
gprof/symtab.c
gprof/tahoe.c
gprof/vax.c

index ac1ec54..b5d3f3e 100644 (file)
@@ -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
index 7d4d438..e22276a 100644 (file)
@@ -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
index 7a3f73e..7ae1492 100644 (file)
@@ -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
index 6c121c6..7431463 100644 (file)
@@ -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
index 2c9a8dd..d9d55d5 100644 (file)
@@ -18,7 +18,7 @@
  */
 #include "gprof.h"
 #include "cg_arcs.h"
-#include "core.h"
+#include "corefile.h"
 #include "hist.h"
 #include "symtab.h"
 
index 00525dd..0c0fc43 100644 (file)
@@ -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"
index 2c56caf..693d337 100644 (file)
@@ -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"
similarity index 99%
rename from gprof/core.c
rename to gprof/corefile.c
index d074d3a..3f3468b 100644 (file)
@@ -1,6 +1,6 @@
 #include "libiberty.h"
 #include "gprof.h"
-#include "core.h"
+#include "corefile.h"
 #include "symtab.h"
 
 bfd *core_bfd;
similarity index 92%
rename from gprof/core.h
rename to gprof/corefile.h
index a78b58a..b396f85 100644 (file)
@@ -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 */
index 9524c8b..af4d8ac 100644 (file)
@@ -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"
index 888335b..b6e260c 100644 (file)
@@ -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"
index 745c121..e027d9a 100644 (file)
@@ -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"
index d09d34e..6ce4eea 100644 (file)
@@ -18,7 +18,7 @@
  */
 #include "gprof.h"
 #include "cg_arcs.h"
-#include "core.h"
+#include "corefile.h"
 #include "hist.h"
 #include "symtab.h"
 
index 60cf18a..5ae8116 100644 (file)
@@ -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
index 77457ac..fd0f469 100644 (file)
@@ -18,7 +18,7 @@
  */
 #include "gprof.h"
 #include "cg_arcs.h"
-#include "core.h"
+#include "corefile.h"
 #include "hist.h"
 #include "symtab.h"
 
index 1ac61cc..182c657 100644 (file)
@@ -1,6 +1,6 @@
 #include "gprof.h"
 #include "cg_arcs.h"
-#include "core.h"
+#include "corefile.h"
 #include "symtab.h"
 
 Sym_Table symtab;
index 3bcd3c5..55db278 100644 (file)
@@ -18,7 +18,7 @@
  */
 #include "gprof.h"
 #include "cg_arcs.h"
-#include "core.h"
+#include "corefile.h"
 #include "hist.h"
 #include "symtab.h"
 
index 020409c..c1f77df 100644 (file)
@@ -18,7 +18,7 @@
  */
 #include "gprof.h"
 #include "cg_arcs.h"
-#include "core.h"
+#include "corefile.h"
 #include "hist.h"
 #include "symtab.h"