]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* 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 ac1ec54091a0b9e3d8b209278ec9a80ef3cb2062..b5d3f3e632157fe41849c8cac51a188d397c1ad0 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 7d4d438086dfe0d330c1baf68680aa468e80a5d0..e22276a5f827b6d2e7df505779cafbbd7d14faaf 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 7a3f73e29d6d58ab5e6a835612e70ded3ec73901..7ae149212a5c5a8bce759db67727a69ca294ca1d 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 6c121c6cc4f8b893197c32abf157c71939c9df34..743146392139f23016b9bb8eb30e9689838adae0 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 2c9a8dd2642c40aee47274277c3c914026842669..d9d55d5cfce98b90aeb6174d5f798a11c4f509d8 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 00525dda56c272307170591203da368c9472dfce..0c0fc43377489997807ea2c1d218d31c6733c439 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 2c56caf5fbc8117df482b4abdc62e2b5ab594a61..693d337404636bb5e1f6302c4d798e74f974762f 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 d074d3a6dd518967cc3cf785ee4dab90fd1f6ccb..3f3468b94911246caf059771461caada72159c31 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 a78b58a2cda548e5f4efe77579505c0f84508a5e..b396f8500b20a13fcfb2169ec10a7289778f5868 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 9524c8bf339df382196ef0faedcf0ba1ac4e06bd..af4d8ac7935cba99c4b3db44ab56cbb3d0c3bce0 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 888335b7d242a35aa55d729e3fbdfabd34866e46..b6e260cff8b70db92b38463f926a4b5f8d0a3b53 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 745c121f1e847a5f6cfef3865626783c3402d390..e027d9a5528e69e6750bae17ff22e9a3a3bcddae 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 d09d34ed5a1aad35f04580e6508381a7b9c6fe56..6ce4eea404626af4d4661795ecca1faca0e29ad1 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 60cf18a8ef461d74c3ff9e3b499784d9ec49ac36..5ae8116a5c1aa504d2ce909f98694b7a17a9bc7f 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 77457ac4de16f9cc29814113b27a6fbcf81b6907..fd0f469e9c0e6f543f54f620dc1eff1a64d643af 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 1ac61cc384a1a3062891c5bfa64f9e04689fbaab..182c6574b4c9bb9c68afff89fd8b086a5ded5f36 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 3bcd3c571edaefab0f91075c499415fb962a8425..55db2786ccb417edae63f2f0e425bac14fdf0083 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 020409cba6f0137b05f347e58c82c042f5c22d58..c1f77df584ddd77ad8311b5de24595284e9fb07b 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"