* 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.
This commit is contained in:
Ian Lance Taylor 1998-04-28 23:52:20 +00:00
parent bfde75f7e3
commit 43870aec5e
18 changed files with 39 additions and 28 deletions

View 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

View 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

View 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

View 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

View File

@ -18,7 +18,7 @@
*/
#include "gprof.h"
#include "cg_arcs.h"
#include "core.h"
#include "corefile.h"
#include "hist.h"
#include "symtab.h"

View 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"

View 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"

View File

@ -1,6 +1,6 @@
#include "libiberty.h"
#include "gprof.h"
#include "core.h"
#include "corefile.h"
#include "symtab.h"
bfd *core_bfd;

View 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 */

View 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"

View 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"

View 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"

View File

@ -18,7 +18,7 @@
*/
#include "gprof.h"
#include "cg_arcs.h"
#include "core.h"
#include "corefile.h"
#include "hist.h"
#include "symtab.h"

View 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

View File

@ -18,7 +18,7 @@
*/
#include "gprof.h"
#include "cg_arcs.h"
#include "core.h"
#include "corefile.h"
#include "hist.h"
#include "symtab.h"

View File

@ -1,6 +1,6 @@
#include "gprof.h"
#include "cg_arcs.h"
#include "core.h"
#include "corefile.h"
#include "symtab.h"
Sym_Table symtab;

View File

@ -18,7 +18,7 @@
*/
#include "gprof.h"
#include "cg_arcs.h"
#include "core.h"
#include "corefile.h"
#include "hist.h"
#include "symtab.h"

View File

@ -18,7 +18,7 @@
*/
#include "gprof.h"
#include "cg_arcs.h"
#include "core.h"
#include "corefile.h"
#include "hist.h"
#include "symtab.h"