dwarfout.h, [...]: New files.
* dwarfout.h, dwarf2out.h, dbxout.h, sdbout.h: New files. Prototypes for externally used functions in respective C files. * dwarfout.c, dbxout.c, dwarf2out.c, sdbout.c, toplev,c, final.c: Include above files. * Makefile.in (toplev.o): Add dependency for above four headers. (final.o): Likewise. (dwarfout.o, dbxout.o, dwarf2out.o, sdbout.o): Depend on four respective header files. From-SVN: r19835
This commit is contained in:
parent
11d3633762
commit
76ead72b80
@ -1,3 +1,14 @@
|
||||
Mon May 18 09:02:09 1998 Robert Lipe <robertl@dgii.com>
|
||||
|
||||
* dwarfout.h, dwarf2out.h, dbxout.h, sdbout.h: New files.
|
||||
Prototypes for externally used functions in respective C files.
|
||||
* dwarfout.c, dbxout.c, dwarf2out.c, sdbout.c, toplev,c,
|
||||
final.c: Include above files.
|
||||
* Makefile.in (toplev.o): Add dependency for above four headers.
|
||||
(final.o): Likewise.
|
||||
(dwarfout.o, dbxout.o, dwarf2out.o, sdbout.o): Depend on four
|
||||
respective header files.
|
||||
|
||||
Mon May 18 01:23:33 1998 Jeffrey A Law (law@cygnus.com)
|
||||
|
||||
* Makefile.in (TARGET_TOOLPREFIX): No longer define.
|
||||
|
@ -1385,7 +1385,8 @@ stor-layout.o : stor-layout.c $(CONFIG_H) system.h $(TREE_H) flags.h \
|
||||
fold-const.o : fold-const.c $(CONFIG_H) system.h $(TREE_H) flags.h toplev.h
|
||||
toplev.o : toplev.c $(CONFIG_H) system.h $(TREE_H) $(RTL_H) \
|
||||
flags.h input.h insn-attr.h xcoffout.h defaults.h output.h \
|
||||
insn-codes.h insn-config.h recog.h Makefile toplev.h \
|
||||
insn-codes.h insn-config.h recog.h Makefile toplev.h dwarfout.h \
|
||||
dwarf2out.h sdbout.h dbxout.h \
|
||||
$(lang_options_files)
|
||||
$(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $(MAYBE_USE_COLLECT2) \
|
||||
-DTARGET_NAME=\"$(target_alias)\" \
|
||||
@ -1420,15 +1421,15 @@ explow.o : explow.c $(CONFIG_H) system.h $(RTL_H) $(TREE_H) flags.h \
|
||||
optabs.o : optabs.c $(CONFIG_H) system.h $(RTL_H) $(TREE_H) flags.h \
|
||||
insn-flags.h insn-config.h insn-codes.h expr.h $(RECOG_H) reload.h
|
||||
dbxout.o : dbxout.c $(CONFIG_H) system.h $(TREE_H) $(RTL_H) flags.h regs.h \
|
||||
insn-config.h reload.h gstab.h xcoffout.h defaults.h output.h
|
||||
insn-config.h reload.h gstab.h xcoffout.h defaults.h output.h dbxout.h
|
||||
sdbout.o : sdbout.c $(CONFIG_H) system.h $(TREE_H) $(RTL_H) flags.h except.h \
|
||||
function.h expr.h output.h hard-reg-set.h regs.h defaults.h real.h \
|
||||
insn-config.h obstack.h xcoffout.h c-pragma.h
|
||||
insn-config.h obstack.h xcoffout.h c-pragma.h sdbout.h
|
||||
dwarfout.o : dwarfout.c $(CONFIG_H) system.h $(TREE_H) $(RTL_H) dwarf.h \
|
||||
flags.h insn-config.h reload.h output.h defaults.h toplev.h
|
||||
flags.h insn-config.h reload.h output.h defaults.h toplev.h dwarfout.h
|
||||
dwarf2out.o : dwarf2out.c $(CONFIG_H) system.h $(TREE_H) $(RTL_H) dwarf2.h \
|
||||
flags.h insn-config.h insn-codes.h reload.h output.h defaults.h \
|
||||
hard-reg-set.h regs.h expr.h toplev.h
|
||||
hard-reg-set.h regs.h expr.h toplev.h dwarf2out.h
|
||||
xcoffout.o : xcoffout.c $(CONFIG_H) system.h $(TREE_H) $(RTL_H) xcoffout.h \
|
||||
flags.h
|
||||
emit-rtl.o : emit-rtl.c $(CONFIG_H) system.h $(RTL_H) $(TREE_H) flags.h \
|
||||
@ -1490,7 +1491,7 @@ $(SCHED_PREFIX)sched.o : $(SCHED_PREFIX)sched.c $(CONFIG_H) system.h $(RTL_H) \
|
||||
final.o : final.c $(CONFIG_H) system.h $(RTL_H) $(TREE_H) flags.h regs.h \
|
||||
$(RECOG_H) conditions.h insn-config.h insn-attr.h except.h real.h output.h \
|
||||
hard-reg-set.h insn-flags.h insn-codes.h gstab.h xcoffout.h defaults.h \
|
||||
toplev.h reload.h
|
||||
toplev.h reload.h dwarfout.h dwarf2out.h sdbout.h dbxout.h
|
||||
recog.o : recog.c $(CONFIG_H) system.h $(RTL_H) \
|
||||
regs.h $(RECOG_H) hard-reg-set.h flags.h insn-config.h insn-attr.h \
|
||||
insn-flags.h insn-codes.h real.h
|
||||
|
@ -78,6 +78,7 @@ Boston, MA 02111-1307, USA. */
|
||||
#include "reload.h"
|
||||
#include "defaults.h"
|
||||
#include "output.h" /* ASM_OUTPUT_SOURCE_LINE may refer to sdb functions. */
|
||||
#include "dbxout.h"
|
||||
|
||||
#ifdef XCOFF_DEBUGGING_INFO
|
||||
#include "xcoffout.h"
|
||||
|
29
gcc/dbxout.h
Normal file
29
gcc/dbxout.h
Normal file
@ -0,0 +1,29 @@
|
||||
/* dbxout.h - Various declarations for functions found in dbxout.c
|
||||
Copyright (C) 1998 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU CC.
|
||||
|
||||
GNU CC is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2, or (at your option)
|
||||
any later version.
|
||||
|
||||
GNU CC is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with GNU CC; see the file COPYING. If not, write to
|
||||
the Free Software Foundation, 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
extern void dbxout_init PROTO ((FILE *, char *, tree));
|
||||
extern void dbxout_finish PROTO ((FILE *, char *));
|
||||
|
||||
extern void dbxout_start_new_source_file PROTO ((char *));
|
||||
extern void dbxout_resume_previous_source_file PROTO ((void));
|
||||
|
||||
extern void dbxout_symbol PROTO ((tree, int));
|
||||
extern void dbxout_function PROTO ((tree));
|
||||
extern void dbxout_source_line PROTO ((FILE *, char*, int));
|
@ -40,6 +40,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
|
||||
#include "expr.h"
|
||||
#include "except.h"
|
||||
#include "dwarf2.h"
|
||||
#include "dwarf2out.h"
|
||||
#include "toplev.h"
|
||||
|
||||
/* We cannot use <assert.h> in GCC source, since that would include
|
||||
|
37
gcc/dwarf2out.h
Normal file
37
gcc/dwarf2out.h
Normal file
@ -0,0 +1,37 @@
|
||||
/* dwarf2out.h - Various declarations for functions found in dwarf2out.c
|
||||
Copyright (C) 1998 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU CC.
|
||||
|
||||
GNU CC is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2, or (at your option)
|
||||
any later version.
|
||||
|
||||
GNU CC is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with GNU CC; see the file COPYING. If not, write to
|
||||
the Free Software Foundation, 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
extern void dwarf2out_init PROTO ((FILE *asm_out_file,
|
||||
char *main_input_filename));
|
||||
extern void dwarf2out_finish PROTO ((void));
|
||||
|
||||
extern void dwarf2out_define PROTO ((unsigned, char *));
|
||||
extern void dwarf2out_undef PROTO ((unsigned, char *));
|
||||
extern void dwarf2out_start_source_file PROTO ((char *));
|
||||
extern void dwarf2out_end_source_file PROTO ((void));
|
||||
|
||||
extern void dwarf2out_begin_block PROTO ((unsigned));
|
||||
extern void dwarf2out_end_block PROTO ((unsigned));
|
||||
extern void dwarf2out_label PROTO ((rtx));
|
||||
extern void dwarf2out_decl PROTO ((tree));
|
||||
extern void dwarf2out_line PROTO ((char *, unsigned));
|
||||
extern void dwarf2out_frame_init PROTO ((void));
|
||||
extern void dwarf2out_frame_debug PROTO ((rtx));
|
||||
extern void dwarf2out_frame_finish PROTO ((void));
|
@ -32,6 +32,7 @@ Boston, MA 02111-1307, USA. */
|
||||
#include "reload.h"
|
||||
#include "output.h"
|
||||
#include "defaults.h"
|
||||
#include "dwarfout.h"
|
||||
#include "toplev.h"
|
||||
|
||||
#if defined(DWARF_TIMESTAMPS)
|
||||
|
40
gcc/dwarfout.h
Normal file
40
gcc/dwarfout.h
Normal file
@ -0,0 +1,40 @@
|
||||
/* dwarfout.h - Various declarations for functions found in dwarfout.c
|
||||
Copyright (C) 1998 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU CC.
|
||||
|
||||
GNU CC is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2, or (at your option)
|
||||
any later version.
|
||||
|
||||
GNU CC is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with GNU CC; see the file COPYING. If not, write to
|
||||
the Free Software Foundation, 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
extern void dwarfout_init PROTO ((FILE *asm_out_file,
|
||||
char *main_input_filename));
|
||||
extern void dwarfout_finish PROTO ((void));
|
||||
|
||||
extern void dwarfout_define PROTO ((unsigned, char *));
|
||||
extern void dwarfout_undef PROTO ((unsigned, char *));
|
||||
extern void dwarfout_file_scope_decl PROTO ((tree , int));
|
||||
extern void dwarfout_start_new_source_file PROTO ((char *));
|
||||
extern void dwarfout_resume_previous_source_file PROTO((unsigned));
|
||||
|
||||
extern void dwarfout_begin_function PROTO ((void));
|
||||
extern void dwarfout_end_function PROTO ((void));
|
||||
extern void dwarfout_begin_epilogue PROTO ((void));
|
||||
extern void dwarfout_end_epilogue PROTO ((void));
|
||||
extern void dwarfout_begin_block PROTO ((unsigned));
|
||||
extern void dwarfout_end_block PROTO ((unsigned));
|
||||
|
||||
extern void dwarfout_label PROTO ((rtx));
|
||||
extern void dwarfout_line PROTO ((char *, unsigned));
|
||||
|
13
gcc/final.c
13
gcc/final.c
@ -72,6 +72,7 @@ Boston, MA 02111-1307, USA. */
|
||||
|
||||
/* Get N_SLINE and N_SOL from stab.h if we can expect the file to exist. */
|
||||
#if defined (DBX_DEBUGGING_INFO) || defined (XCOFF_DEBUGGING_INFO)
|
||||
#include "dbxout.h"
|
||||
#if defined (USG) || defined (NO_STAB_H)
|
||||
#include "gstab.h" /* If doing DBX on sysV, use our own stab.h. */
|
||||
#else
|
||||
@ -83,6 +84,18 @@ Boston, MA 02111-1307, USA. */
|
||||
#include "xcoffout.h"
|
||||
#endif
|
||||
|
||||
#ifdef DWARF_DEBUGGING_INFO
|
||||
#include "dwarfout.h"
|
||||
#endif
|
||||
|
||||
#if defined (DWARF2_UNWIND_INFO) || defined (DWARF2_DEBUGGING_INFO)
|
||||
#include "dwarf2out.h"
|
||||
#endif
|
||||
|
||||
#ifdef SDB_DEBUGGING_INFO
|
||||
#include "sdbout.h"
|
||||
#endif
|
||||
|
||||
/* .stabd code for line number. */
|
||||
#ifndef N_SLINE
|
||||
#define N_SLINE 0x44
|
||||
|
@ -100,9 +100,7 @@ extern FILE *asm_out_file;
|
||||
|
||||
extern tree current_function_decl;
|
||||
|
||||
void sdbout_init ();
|
||||
void sdbout_symbol ();
|
||||
void sdbout_types();
|
||||
#include "sdbout.h"
|
||||
|
||||
static char *gen_fake_label PROTO((void));
|
||||
static int plain_type PROTO((tree));
|
||||
|
38
gcc/sdbout.h
Normal file
38
gcc/sdbout.h
Normal file
@ -0,0 +1,38 @@
|
||||
/* sdbout.h - Various declarations for functions found in sdbout.c
|
||||
Copyright (C) 1998 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU CC.
|
||||
|
||||
GNU CC is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2, or (at your option)
|
||||
any later version.
|
||||
|
||||
GNU CC is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with GNU CC; see the file COPYING. If not, write to
|
||||
the Free Software Foundation, 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
extern void sdbout_init PROTO ((FILE *, char*, tree));
|
||||
|
||||
extern void sdbout_begin_function PROTO ((int));
|
||||
extern void sdbout_end_function PROTO ((int));
|
||||
|
||||
extern void sdbout_begin_block PROTO ((FILE *, int, int));
|
||||
extern void sdbout_end_block PROTO ((FILE *, int, int));
|
||||
|
||||
extern void sdbout_label PROTO ((rtx));
|
||||
extern void sdbout_symbol PROTO ((tree, int));
|
||||
extern void sdbout_toplevel_data PROTO ((tree));
|
||||
extern void sdbout_types PROTO ((tree));
|
||||
|
||||
extern void sdbout_end_epilogue PROTO ((void));
|
||||
|
||||
extern void sdbout_start_new_source_file PROTO ((char *));
|
||||
extern void sdbout_resume_previous_source_file PROTO ((void));
|
||||
|
16
gcc/toplev.c
16
gcc/toplev.c
@ -57,6 +57,22 @@ Boston, MA 02111-1307, USA. */
|
||||
#include "except.h"
|
||||
#include "toplev.h"
|
||||
|
||||
#ifdef DWARF_DEBUGGING_INFO
|
||||
#include "dwarfout.h"
|
||||
#endif
|
||||
|
||||
#if defined (DWARF2_UNWIND_INFO) || defined (DWARF2_DEBUGGING_INFO)
|
||||
#include "dwarf2out.h"
|
||||
#endif
|
||||
|
||||
#ifdef DBX_DEBUGGING_INFO
|
||||
#include "dbxout.h"
|
||||
#endif
|
||||
|
||||
#ifdef SDB_DEBUGGING_INFO
|
||||
#include "sdbout.h"
|
||||
#endif
|
||||
|
||||
#ifdef XCOFF_DEBUGGING_INFO
|
||||
#include "xcoffout.h"
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user